Author Topic: FORBIDDEN!  (Read 1747 times)

ruben

  • Posts: 25
    • View Profile
FORBIDDEN!
« on: March 14, 2006, 12:35:45 am »
Howdy,

I'm installing on a new site and when I try to go to mysite.com/mail....I get FORBIDDEN - You don't have permission to access /mail on this server...Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I am certain that my config.php database info is correct.

What else could be the problem???

Thanks for any and all help

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
FORBIDDEN!
« Reply #1 on: March 14, 2006, 10:02:56 am »
It's possible that your host does not allow 'index.php' as the 'index' file for the folder.  You can try adding a file named .htaccess to your folder containing the following:
Code: [Select]
DirectoryIndex index.php

If the server supports PHP but does not support the index you might also have success browsing directly to the file index.php or login.php.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

ruben

  • Posts: 25
    • View Profile
FORBIDDEN! Problem solved...
« Reply #2 on: March 14, 2006, 05:34:12 pm »
Changing the .htaccess to:  "DirectoryIndex index.php"  did the trick :D

But...does this now open the opportunity for hackers :shock:

Thanks!

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
FORBIDDEN!
« Reply #3 on: March 15, 2006, 07:06:37 am »
No it does not open an opportunity for hackers.  Most hosts have this index set server-wide by default.  It causes the server to automatically load index.php when you browse to a folder without a filename.  The index.php file could be browsed to and executed regardless of this setting.

Regards, DW
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting