ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: ruben on March 14, 2006, 12:35:45 am

Title: FORBIDDEN!
Post by: ruben 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
Title: FORBIDDEN!
Post by: DW 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
Title: FORBIDDEN! Problem solved...
Post by: ruben 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!
Title: FORBIDDEN!
Post by: DW 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