homepage Welcome to WebmasterWorld Guest from 54.166.96.101
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Confused about 403 Forbidden Errors
RonSolo

5+ Year Member



 
Msg#: 3395866 posted 3:01 pm on Jul 16, 2007 (gmt 0)

Hi Guys.
I'm confused on how to best handle/control/correct 403 Forbidden Errors.

In my case, I installed a 3rd party support ticketing system into its own directory on my server. The path is http://www.example.com/support/

If I type this path into the browser, I receive the 403 Error. If I type the complete path, including the index.htm, then it works and I can access the support system.

I don't have a problem typing in the complete path; but, there is a contact form that we added to our general site that communicates with this support system, and the form isn't working because of this 403 Error.

We do have a .htaccess file and in it we do specify:

Options -MultiViews

I had read somewhere to have this line in .htaccess for security purposes.

1. Should I be able to simply enter www.mydomain.com/support/ and access the system without having to specify the index.htm at the end? And, if so, what do I do to enable that?

2. Should I remove the "Options -MultiViews" from .htaccess?

3. Is there any security issue with doing this?

4. Is there anything else I should add to .htaccess to handle the 403 errors?

Thanks very much for your input.

Ron

[edited by: encyclo at 2:28 am (utc) on July 17, 2007]
[edit reason] switched to example.com [/edit]

 

encyclo

WebmasterWorld Senior Member encyclo us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3395866 posted 2:31 am on Jul 17, 2007 (gmt 0)

Welcome to WebmasterWorld RonSolo! If the .htaccess file is within the /support/ subdirectory, then try specifying index.htm as the preferred directory index file:

DirectoryIndex index.htm

See: [httpd.apache.org...]

RonSolo

5+ Year Member



 
Msg#: 3395866 posted 6:14 pm on Jul 19, 2007 (gmt 0)

Hi encydo.
Thank you for your input. I currently only have .htaccess file in our root directory. Should I also have a .htaccess file in the support directory as well?

Thanks,
Ron

jdMorgan

WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3395866 posted 6:56 pm on Jul 19, 2007 (gmt 0)

> Should I also have a .htaccess file in the support directory as well?

To fix this problem without affecting any other areas of the site, yes you should. Put encyclo's one line of code in it, completely flush your browser cache, and test it.

Jim

RonSolo

5+ Year Member



 
Msg#: 3395866 posted 6:58 pm on Jul 19, 2007 (gmt 0)

Okay. Great!

Thanks, Jim.

- Ron

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved