ispCP - Board - Support
Directory index - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Directory index (/thread-9929.html)



Directory index - foxb - 03-09-2010 09:44 AM

For any reason when I create user and access web address I receive 403 error. Like there is no directory index.

when I have index.php it works, but default index.html does not.

Any idea how to fix that?

Thanks

Running IspCP 1.0.4
CentOS 5.4
PHP 5.2.10 (CentOS)


RE: Directory index - joximu - 03-09-2010 06:18 PM

In debian - with loading mod_dir you have a list of index-files which is loaded.

But you can add this in the 00_master.conf at the beginninge:

<IfModule mod_dir.c>
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
</IfModule>


/Joxi


RE: Directory index - foxb - 03-11-2010 11:35 AM

(03-09-2010 06:18 PM)joximu Wrote:  In debian - with loading mod_dir you have a list of index-files which is loaded.

But you can add this in the 00_master.conf at the beginninge:

<IfModule mod_dir.c>
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
</IfModule>


/Joxi
Thanks for the reply.

I have 3 of them
Code:
/etc/ispcp/apache/working/00_master.conf
/etc/ispcp/apache/00_master.conf
/etc/httpd/vhosts/00_master.conf

What file I have to modify?

Sorry - > new with ISPcp...


RE: Directory index - joximu - 03-11-2010 06:37 PM

/etc/httpd/vhosts/00_master.conf

/J