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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htaccess 1

Status
Not open for further replies.

dmears1

Technical User
Jun 18, 2003
208
US
I need to change the default directory page of our website. Currently the default page is index.html. I want to change it to morter.php. In the past I have done this by adding:

Code:
DirectoryIndex morter.php

to the .htaccess file. I have tried adding this to the current .htaccess file:

Code:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

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

<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>

AuthName [URL unfurl="true"]www.morter.com[/URL]
AuthUserFile /.../.../.../.../../.../.../.../file.pwd
AuthGroupFile /.../.../.../.../.../.../.../.../file.grp

DirectoryIndex morter.php

After adding the DirectoryIndex line, I get the following error when navigating to the subdirectory /catalog which is our online store:

Code:
Forbidden
You don't have permission to access /catalog/ on this server.
---------
Apache/1.3.27 Server at [URL unfurl="true"]www.morter.com[/URL] Port 80

I have been unable to find any online documentation as to what could be causing this error. Any help or ideas would be appreciated. Thanks...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top