Results 1 to 9 of 9
Thread: error 500 if using .htaccess
-
03-12-2001, 01:45 AM #1Newbie
- Join Date
- Feb 2001
- Posts
- 8
My dedicated server uses Red Hat 7.0, Plesk.
I need to add this following line:
AddType text/x-server-parsed-html .html
Since i had no telnet access, i tried to use .htaccess file. After uploading that file, i got an internal server error. Could anyone help me solving this problem. Thank You.
-
03-12-2001, 02:01 AM #2Aspiring Evangelist
- Join Date
- Sep 2000
- Posts
- 429
try
AddHandler server-parsed .html
-
03-12-2001, 02:57 AM #3Newbie
- Join Date
- Feb 2001
- Posts
- 8
Tcoy,
It still the same, 500 Internal Server Error.
-
03-12-2001, 01:36 PM #4Junior Guru Wannabe
- Join Date
- Sep 2000
- Location
- Switzerland
- Posts
- 65
Yep, use SSH
My suggestion
1. Check /usr/local/plesk/apache/conf/httpsd.conf.def
2. Search for: <Directory "/usr/local/plesk/apache/vhosts">
3. Change the AllowOverride directive in there to:
AllowOverride All
4. Reload apache with /usr/local/plesk/admin/utils/./my_apci_rst
-
03-12-2001, 10:05 PM #5Newbie
- Join Date
- Feb 2001
- Posts
- 8
Micro,
Could you tell me how to reload the apache.
I am now at /usr/local/plesk/admin/utils/./
when i type my_apci_rst and press enter, i receive this message :
bash: my_apci_rst: command not found.
Thank You.
-
03-12-2001, 10:21 PM #6Web Hosting Master
- Join Date
- Oct 2000
- Posts
- 1,113
Just type
/usr/local/plesk/admin/utils/my_apci_rst
and then enter
-
03-13-2001, 03:13 PM #7Web Hosting Master
- Join Date
- Jul 2000
- Location
- Washington, DC
- Posts
- 591
General tip: When you get "500 Internal Server Error", read the error log file and it will tell you more information. Common places where the error log file could be:
/var/log/httpd/error_log
/usr/local/apache/logs/error_log
-
03-13-2001, 04:29 PM #8Web Hosting Master
- Join Date
- Oct 2000
- Posts
- 1,113
or the domains logs located at
/usr/local/plesk/apache/vhosts/domainname.com/logs
domainname.com = true domain name
-
03-14-2001, 01:19 AM #9Newbie
- Join Date
- Feb 2001
- Posts
- 8
Problem solved.
Thank you to all of you.