Problem with .htaccess file vol.2

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
opkyrtsis
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Tue Sep 19, 2017 11:06 pm

Problem with .htaccess file vol.2

Post by opkyrtsis » Tue Apr 09, 2024 1:12 pm

Hi there.

Problems with .htaccess file in Joomla 4 seem to have no end for me. Once renamed / URL Rewriting enabled and after a while, backend brakes. I tried to use instead of the default file the one that follows (it has worked for me on another installation) but still, buttons are dead, icons are missing etc.

Any ideas?

Script used in file: (currently renamed back to txt and URL rewriting disabled)

Code: Select all

##
# @package    Joomla
# @copyright  (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
# @license    GNU General Public License version 2 or later; see LICENSE.txt
##

##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line 'Options +FollowSymLinks' may cause problems with some server configurations.
# It is required for the use of Apache mod_rewrite, but it may have already been set by
# your server administrator in a way that disallows changing it in this .htaccess file.
# If using it causes your site to produce an error, comment it out (add # to the
# beginning of the line), reload your site in your browser and test your sef urls. If
# they work, then it has been set by your server administrator and you do not need to
# set it here.
##

## MISSING CSS OR JAVASCRIPT ERRORS
#
# If your site looks strange after enabling this file, then your server is probably already
# gzipping css and js files and you should comment out the GZIP section of this file.
##

## OPENLITESPEED
#
# If you are using an OpenLiteSpeed web server then any changes made to this file will
# not take effect until you have restarted the web server.
##

## Can be commented out if causes errors, see notes above.
Options +FollowSymlinks
Options -Indexes

## No directory listings
<IfModule mod_autoindex.c>
	IndexIgnore *
</IfModule>

## Suppress mime type detection in browsers for unknown types
<IfModule mod_headers.c>
	Header always set X-Content-Type-Options "nosniff"
</IfModule>

## Protect against certain cross-origin requests. More information can be found here:
## https://developer.mozilla.org/en-US/docs/Web/HTTP/Cross-Origin_Resource_Policy_(CORP)
## https://web.dev/why-coop-coep/
#<IfModule mod_headers.c>
#	Header always set Cross-Origin-Resource-Policy "same-origin"
#	Header always set Cross-Origin-Embedder-Policy "require-corp"
#</IfModule>

## Disable inline JavaScript when directly opening SVG files or embedding them with the object-tag
<FilesMatch "\.svg$">
  <IfModule mod_headers.c>
    Header always set Content-Security-Policy "script-src 'none'"
  </IfModule>
</FilesMatch>

## These directives are only enabled if the Apache mod_rewrite module is enabled
<IfModule mod_rewrite.c>
	RewriteEngine On

	## Begin - Rewrite rules to block out some common exploits.
	# If you experience problems on your site then comment out the operations listed
	# below by adding a # to the beginning of the line.
	# This attempts to block the most common type of exploit `attempts` on Joomla!
	#
	# Block any script trying to base64_encode data within the URL.
	RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
	# Block any script that includes a <script> tag in URL.
	RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
	# Block any script trying to set a PHP GLOBALS variable via URL.
	RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
	# Block any script trying to modify a _REQUEST variable via URL.
	RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
	# Return 403 Forbidden header and show the content of the root home page
	RewriteRule .* index.php [F]
	#
	## End - Rewrite rules to block out some common exploits.

	## Begin - Custom redirects
	#
	# If you need to redirect some pages, or set a canonical non-www to
	# www redirect (or vice versa), place that code here. Ensure those
	# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
	#
	## End - Custom redirects

	##
	# Uncomment the following line if your webserver's URL
	# is not directly related to physical file paths.
	# Update Your Joomla! Directory (just / for root).
	##

	# RewriteBase /

	## Begin - Joomla! core SEF Section.
	#
	# PHP FastCGI fix for HTTP Authorization, required for the API application
	RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
	# -- SEF URLs for the API application
	# If the requested path starts with /api, the file is not /api/index.php
	# and the request has not already been internally rewritten to the
	# api/index.php script
	RewriteCond %{REQUEST_URI} ^/api/
	RewriteCond %{REQUEST_URI} !^/api/index\.php
	# and the requested path and file doesn't directly match a physical file
	RewriteCond %{REQUEST_FILENAME} !-f
	# and the requested path and file doesn't directly match a physical folder
	RewriteCond %{REQUEST_FILENAME} !-d
	# internally rewrite the request to the /api/index.php script
	RewriteRule .* api/index.php [L]
	# -- SEF URLs for the public frontend application
	# If the requested path and file is not /index.php and the request
	# has not already been internally rewritten to the index.php script
	RewriteCond %{REQUEST_URI} !^/index\.php
	# and the requested path and file doesn't directly match a physical file
	RewriteCond %{REQUEST_FILENAME} !-f
	# and the requested path and file doesn't directly match a physical folder
	RewriteCond %{REQUEST_FILENAME} !-d
	# internally rewrite the request to the index.php script
	RewriteRule .* index.php [L]
	#
	## End - Joomla! core SEF Section.
</IfModule>

## These directives are only enabled if the Apache mod_rewrite module is disabled
<IfModule !mod_rewrite.c>
	<IfModule mod_alias.c>
		# When Apache mod_rewrite is not available, we instruct a temporary redirect
		# of the start page to the front controller explicitly so that the website
		# and the generated links can still be used.
		RedirectMatch 302 ^/$ /index.php/
		# RedirectTemp cannot be used instead
	</IfModule>
</IfModule>

## GZIP
## These directives are only enabled if the Apache mod_headers module is enabled.
## This section will check if a .gz file exists and if so will stream it
##     directly or fallback to gzip any asset on the fly
## If your site starts to look strange after enabling this file, and you see
##     ERR_CONTENT_DECODING_FAILED in your browser console network tab,
##     then your server is already gzipping css and js files and you don't need this
##     block enabled in your .htaccess
<IfModule mod_headers.c>
	# Serve gzip compressed CSS files if they exist
	# and the client accepts gzip.
	RewriteCond "%{HTTP:Accept-encoding}" "gzip"
	RewriteCond "%{REQUEST_FILENAME}\.gz" -s
	RewriteRule "^(.*)\.css" "$1\.css\.gz" [QSA]

	# Serve gzip compressed JS files if they exist
	# and the client accepts gzip.
	RewriteCond "%{HTTP:Accept-encoding}" "gzip"
	RewriteCond "%{REQUEST_FILENAME}\.gz" -s
	RewriteRule "^(.*)\.js" "$1\.js\.gz" [QSA]

	# Serve correct content types, and prevent mod_deflate double gzip.
	RewriteRule "\.css\.gz$" "-" [T=text/css,E=no-gzip:1]
	RewriteRule "\.js\.gz$" "-" [T=text/javascript,E=no-gzip:1]

	<FilesMatch "(\.js\.gz|\.css\.gz)$">
		# Serve correct encoding type.
		Header set Content-Encoding gzip

		# Force proxies to cache gzipped &
		# non-gzipped css/js files separately.
		Header append Vary Accept-Encoding
	</FilesMatch>
</IfModule>

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php8_module>
   php_flag display_errors Off
   php_value max_execution_time 300
   php_value max_input_time 180
   php_value max_input_vars 5120
   php_value memory_limit 384M
   php_value post_max_size 300M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php81"
   php_value upload_max_filesize 300M
   php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
   php_flag display_errors Off
   php_value max_execution_time 300
   php_value max_input_time 180
   php_value max_input_vars 5120
   php_value memory_limit 384M
   php_value post_max_size 300M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php81"
   php_value upload_max_filesize 300M
   php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php81” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php81___lsphp .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
Forum Post Assistant (v1.6.6) : 9-Apr-2024 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.4.3-Stable (Pamoja) 20-February-2024
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: No | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: N/A | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.4.3: Yes | Database Supports J! 4.4.3: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-962.3.2.lve1.5.84.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br, zstd | System TMP Writable: Yes | Free Disk Space : 173.83 GiB |

PHP Configuration :: Version: 8.1.27 | PHP API: litespeed | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 32759 | Log Errors To: error_log | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: No | Open Base: | Uploads: 1 | Max. Upload Size: 10M | Max. POST Size: 30M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

Database Configuration :: Version: 10.3.39-MariaDB-cll-lve (Client:mysqlnd 8.1.27) | Database Size: 9.25 MiB | #of Tables with config prefix:  77 | #of other Tables:  0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (8.1.27) | date (8.1.27) | libxml (8.1.27) | openssl (8.1.27) | pcre (8.1.27) | zlib (8.1.27) | filter (8.1.27) | hash (8.1.27) | json (8.1.27) | pcntl (8.1.27) | readline (8.1.27) | Reflection (8.1.27) | SPL (8.1.27) | session (8.1.27) | standard (8.1.27) | litespeed () | bcmath (8.1.27) | calendar (8.1.27) | ctype (8.1.27) | curl (8.1.27) | dom (20031129) | enchant (8.1.27) | mbstring (8.1.27) | fileinfo (8.1.27) | ftp (8.1.27) | gd (8.1.27) | gettext (8.1.27) | gmp (8.1.27) | iconv (8.1.27) | imap (8.1.27) | intl (8.1.27) | exif (8.1.27) | mysqlnd (mysqlnd 8.1.27) | PDO (8.1.27) | pgsql (8.1.27) | Phar (8.1.27) | posix (8.1.27) | pspell (8.1.27) | shmop (8.1.27) | SimpleXML (8.1.27) | soap (8.1.27) | sockets (8.1.27) | sqlite3 (8.1.27) | sysvmsg (8.1.27) | sysvsem (8.1.27) | sysvshm (8.1.27) | tidy (8.1.27) | tokenizer (8.1.27) | xml (8.1.27) | xmlwriter (8.1.27) | xsl (8.1.27) | zip (1.19.5) | mysqli (8.1.27) | pdo_mysql (8.1.27) | pdo_pgsql (8.1.27) | pdo_sqlite (8.1.27) | xmlreader (8.1.27) | i360 (7.12.1) | Zend Engine (4.1.27) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) | api/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 375284 | Threads: 40 | Questions: 124186104 | Slow queries: 50 | Opens: 4038771 | Flush tables: 13 | Open tables: 12288 | Queries per second avg: 330.912 |
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_privacy (3.9.0) 1 | com_installer (4.0.0) 1 | com_banners (4.0.0) 1 | com_fields (4.0.0) 1 | com_checkin (4.0.0) 1 | com_media (3.0.0) 1 | com_modules (4.0.0) 1 | com_languages (4.0.0) 1 | com_associations (4.0.0) 1 | com_workflow (4.0.0) 1 | com_users (4.0.0) 1 | com_postinstall (4.0.0) 1 | com_messages (4.0.0) 1 | com_login (4.0.0) 1 | com_finder (4.0.0) 1 | com_content (4.0.0) 1 | com_joomlaupdate (4.0.3) 1 | com_newsfeeds (4.0.0) 1 | com_cpanel (4.0.0) 1 | com_actionlogs (3.9.0) 1 | com_wrapper (4.0.0) 1 | com_ajax (4.0.0) 1 | com_menus (4.0.0) 1 | com_templates (4.0.0) 1 | com_categories (4.0.0) 1 | com_cache (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_admin (4.0.0) 1 | com_plugins (4.0.0) 1 | com_mails (4.0.0) 1 | com_guidedtours (4.3.0) 1 | com_scheduler (4.1.0) 1 | com_tags (4.0.0) 1 | com_config (4.0.0) 1 | com_redirect (4.0.0) 1 |
3rd Party:: com_akeebabackup (9.5.1) 1 |

Modules :: Site ::
Core :: mod_articles_popular (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_languages (3.5.0) 1 | mod_feed (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_login (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_menu (3.0.0) 1 |
3rd Party:: MOD_YOOTHEME_BUILDER (4.3.4) 1 |

Modules :: Admin ::
Core :: mod_latestactions (3.9.0) 1 | mod_user (4.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_post_installation_messages (4.0.0) 1 | mod_popular (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_logged (3.0.0) 1 | mod_privacy_status (4.0.0) 1 | mod_latest (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_loginsupport (4.0.0) 1 | mod_feed (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_frontend (4.0.0) 1 | mod_messages (4.0.0) 1 | mod_version (3.0.0) 1 | mod_guidedtours (4.3.0) 1 | mod_login (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_title (3.0.0) 1 | mod_menu (3.0.0) 1 |
3rd Party:: MOD_YOOTHEME_LINK (4.3.4) 1 |

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_filesystem_local (4.0.0) 1 | plg_task_check_files (4.1) 1 | plg_task_site_status (4.1) 1 | plg_task_demo_tasks (4.1) 1 | plg_task_requests (4.1) 1 | plg_user_token (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_quickicon_eos (4.4.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_workflow_publishing (4.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_media-action_crop (4.0.0) 1 | plg_sampledata_multilang (4.0.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_installer_override (4.0.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_joomla (3.0.0) 1 | plg_content_vote (3.0.0) 0 | plg_api-authentication_token (4.0.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_system_guidedtours (4.3.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_sef (3.0.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_actionlogs (3.9.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_jooa11y (4.2.0) 1 | plg_system_httpheaders (4.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_stats (3.5.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_webauthn (4.0.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_schedulerunner (4.1) 1 | plg_system_log (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_skipto (4.0.0) 1 | plg_system_shortcut (4.2.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_updatenotification (3.5.0) 1 | plg_system_task_notification (4.1) 1 | plg_system_accessibility (4.0.0) 0 | plg_extension_namespacemap (4.0.0) 1 | plg_extension_finder (4.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_webservices_media (4.1.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_webservices_languages (4.0.0) 1 | plg_multifactorauth_yubikey (3.2.0) 1 | plg_multifactorauth_totp (3.2.0) 1 | plg_multifactorauth_webauthn (4.2.0) 1 | plg_multifactorauth_fixed (4.2.0) 0 | plg_multifactorauth_email (4.2.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_behaviour_compat (4.4.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_actionlog_joomla (3.9.0) 1 |
3rd Party:: PLG_QUICKICON_AKEEBABACKUP (9.5.1) 1 | Installer - YOOtheme (1.0.7) 1 | Fields - YOOtheme Location (4.3.4) 1 | plg_editors_codemirror (5.65.15) 1 | plg_editors_tinymce (5.10.9) 1 | System - [FS] Counter element for Y (1.3.0) ? | PLG_SYSTEM_HERZOGDUPONT (1.8.0) 1 | System - [FS] Shape Dividers for YO (1.2.2) ? | System - YOOtheme Framework (4.3.4) 1 |
Templates Discovered :: wrote:Templates :: Site :: cassiopeia (1.0) 1 | YOOtheme (4.3.4) 1 |
Templates :: Admin :: atum (1.0) 1 |
Thank you!
Last edited by toivo on Tue Apr 09, 2024 2:32 pm, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

opkyrtsis
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Tue Sep 19, 2017 11:06 pm

Re: Problem with .htaccess file vol.2

Post by opkyrtsis » Wed Apr 10, 2024 1:19 pm

Any ideas? Thank you.

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9817
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Problem with .htaccess file vol.2

Post by AMurray » Wed Apr 10, 2024 1:35 pm

If the file is the default htacess.txt without any modification, I don't see why it shouldn't be working.

I'd set everything back to "on" and provide a link to your site to demonstrate what you have described as 'not working'.

Perhaps, download the same installer package as the version you're using (4.4.3), and extract that copy's htaccess.txt file and replace yours with the new one, then rename it .htaccess, and enable the SEF options.

Are you describing the back end as not being properly styled (just basically a white screen with few text elements? I think you've got the "double gzip" issue (at least, my assumption without further information from you.

Please refer to this resource that might help: https://kuneze.com/blog/110-joomla-double-gzip-problems
Regards - A Murray
General Support Moderator

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17491
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Problem with .htaccess file vol.2

Post by toivo » Wed Apr 10, 2024 10:24 pm

opkyrtsis wrote:
Tue Apr 09, 2024 1:12 pm
Script used in file: (currently renamed back to txt and URL rewriting disabled)
The attached .htaccess file is not the latest version that gets installed with Joomla 4.4.3. The latest version of htaccess.txt adds the Brotli compression into the GZIP section. The attached version has also two sections of cPanel-generated php.ini directives.
Toivo Talikka, Global Moderator

opkyrtsis
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Tue Sep 19, 2017 11:06 pm

Re: Problem with .htaccess file vol.2

Post by opkyrtsis » Tue Apr 30, 2024 1:44 pm

I'm using this one now https://docs.joomla.org/Preconfigured_htaccess and still have problems. Many buttons in administrator are dead, and the styling with lists is distorted.Image

opkyrtsis
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Tue Sep 19, 2017 11:06 pm

Re: Problem with .htaccess file vol.2

Post by opkyrtsis » Wed May 01, 2024 11:28 am

Also GZIP is disabled in global configuration...


Post Reply

Return to “General Questions/New to Joomla! 4.x”