Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

500 Internal server error
(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
  • 2

TOPIC: 500 Internal server error

500 Internal server error 14 years, 5 months ago #8396

Hello Forum,

This is my first install of JoomSEF and I've run into trouble. All of the menu links lead to error 500 pages. I have read the FAQ below regarding my issue:

After installing the component, I experience "500 Internal server error" message.

There is probably some misspelling or invalid configuration in your .htaccess file. Please recheck it and do needed modifications. Please see documentation for details. If you are unable to fix the .htaccess content, rename it to _htaccess for example, so you can get access to your site again, and discuss the .htaccess possible content with your web host.

I have the files ".htaccess" and also ".htaccess.txt" in my root directory (I wonder why) but I have looked at them both and edited them accordingly with the same results - no change.

I can open the administrator page no problem...........

This site is hosted on MY virtual dedicated server. If there are any server issues I will be able to change them. However, I have no idea where to start.

I will be VERY grateful if someone can direct me to a solution. I have read all posts in this forum regarding 500 errors.

Also perhaps worth mentioning is the /log and /tmp paths........mine are just as they should be
$log_path /var/www/vhosts/volksworldbali.com/httpdocs/logs
$tmp_path /var/www/vhosts/volksworldbali.com/httpdocs/tmp

When I rename the .htaccess file (not .htaccess.txt) with an underscore in the front, I get error 404's which leads me to conclude that something about the htaccess files isn't right.......I will post the contents of the file below:

DirectoryIndex index.php
RewriteEngine On
RewriteBase /volksworldbali

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
Last Edit: 14 years, 5 months ago by indoexpo. Reason: more complete information

Re:500 Internal server error 14 years, 5 months ago #8397


DirectoryIndex index.php
RewriteEngine On
RewriteBase /volksworldbali


I have solved my own problem.

In .htaccess change

RewriteBase /volksworldbali

to

RewriteBase /

..................all works fine!

I hope my post helps someone!

:-)

Re:500 Internal server error 14 years, 5 months ago #8399

Continuing my solo post............

I was so happy to get one right I decided to install JoomSEF on another site. This time, I'm not sure why, the .htaccess file was not in the root directory after install. I DID have htaccess.txt. I'm using the latest version of Joomla.

I had the same trouble as the previous site with the 500 errors.

So.....I copied the .htaccess file from the first site and pasted into the root of the second site, and all worked fine.

I am wondering why this worked? I think I did everything correct when installing it......enabling it, etc. Why did no .htaccess file get generated by JoomSEF? Does it get created by JoomSEF?

Re:500 Internal server error 14 years, 5 months ago #8406

is that so?
how d'you managed to do it?
cos i am also planning to use JoomSEF for my project...
just in case i encounter the same dilemma that you faced before...
please?

Re:500 Internal server error 12 years ago #28861

I had the same problem and changing -

RewriteBase /mysitename

to

RewriteBase /


fixed my problem too!

Thanks, this saved me hours of troubleshooting!

JG

Re: 500 Internal server error 8 years, 9 months ago #46562

Thank you guys! it was my problem too!
  • Page:
  • 1
  • 2
User Login Empty