Forums / Install & configuration / I can connect to site.com/index.php but can't connect to site.com

I can connect to site.com/index.php but can't connect to site.com

Author Message

Max Power

Sunday 02 May 2004 4:01:29 am

Hi!
I can connect to http://www.site.com/index.php but can't connect to http://www.site.com - it gives me <b> 403 Forbidden You don't have permission to access / on this server.</b> Everything else works fine. The http://www.site.com uri works if I delete .htaccess. There where no installation errors and .htaccess is unchanged. The hosting isn't a virtual host - it's cpanel based. Anyone experienced anything like this? I searched the forums and found many similar problems but I can't find a solution. TIA!

Dominik Pich

Monday 03 May 2004 12:24:30 am

mark index.php as valid index page for the folder in that htaccess...
maybe when it exists other settings are applied as well...

Max Power

Monday 03 May 2004 2:19:59 am

I think it's already declared as a default index in this line in .htaccess:
<b>DirectoryIndex index.php</b>
It's a stock-standard .htaccess so it shouldn't be a problem... The directory browsing (listing) is disabled - I edited /usr/local/apache/conf/access.conf and removed the word "Indexes". After editing it looked like this:

<Directory />
Options FollowSymLinks ExecCGI Includes
AllowOverride All
order allow,deny
allow from all
</Directory>

Could it be the reason ?

Jose Velez

Thursday 18 November 2004 4:40:17 pm

Has anyone found a fix to this problem? I am having the same problem.

Thanks!

Stian Lindhom

Thursday 18 November 2004 6:39:15 pm

This is not really EZ-related at all, but first off, whenever your webserver throws error codes at you check the server logs for more details!
Make sure your Apache-configuration allows the use of .htaccess files, check file/directory permissions and you may also want to consult the Apache documentation at http://httpd.apache.org/docs-project/ .

Regards,
Stian

Jose Velez

Thursday 18 November 2004 6:50:19 pm

I am on a shared host so I dont think I have access to those files. Any other suggestions?

Thanks!