Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

500 Server error when .htaccess is installed
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: 500 Server error when .htaccess is installed

500 Server error when .htaccess is installed 15 years, 10 months ago #6051

As the title says as soon as i put the .htaccess on the site i get a 500 server error, if i remove the .htaccess the site comes up but can navigate to other pages.

Ive only just installed it on a new install of joomla.

Im running on a linux godaddy server

This is my .htaccess

#
# mod_rewrite in use
#

RewriteEngine On
 
# Uncomment following line if you get 403 Forbidden Error

#Options +FollowSymLinks

# Uncomment following line if your webserver's URL
# is not directly related to physival file paths.
# Update YourMamboDirectory (just / for root)

#RewriteBase /YourDirectory

#
# Rules
#

#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
 
 
 
 
########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section

Re:500 Server error when .htaccess is installed 15 years, 10 months ago #6063

  • jaku
Hello,

the content of the .htaccess file looks fine.
Then the most probably reason of 500 Internal server error is that the usage of .htaccess is not allowed by server admins.

You can test this easily by creating an .htaccess file that is empty.
If you get 500 Internal server error then, you will ned to ask the server adminsitrator to allow its usage for your site or consult other way of solving this wiht him.
  • Page:
  • 1
Přihlášení uživatele Prázdný