Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htaccess and internal server error

Status
Not open for further replies.

purpleski

IS-IT--Management
Aug 14, 2002
112
FR
Hi

Can anybody see what is wrong with my .htaccess file as below? If I post to the root directory I get an Internal Server Error message. I am on a shared server. Thanks.

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT>
order deny,allow
deny from all
</Limit>
AuthName purpleski.com
ErrorDocument 404 /errorpage.html
ErrorDocument 500 /errorpage.html
Options +Includes
AddType text/html .shtml
AddHandler server-parsed .shtml .html .htm
Options Indexes FollowSymLinks Includes

Regards

 
Hello:

Have you checked that the .htaccess are allowed in this shared server?

Regards.
 
I have been in long correspondence with the support and have switched servers with the same ISP so that I can have access to .htaccess but will ask them them the specific question.

Thanks.

 
Here's one obvious error:

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>

You really don't want to deny from all and allow from all, do you? 8)

Newposter
&quot;Good judgment comes from experience. Experience comes from bad judgment.&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top