Current time: 05-05-2024, 09:38 AM Hello There, Guest! (LoginRegister)


Post Reply 
Directory index
Author Message
foxb Offline
Junior Member
*

Posts: 37
Joined: Mar 2010
Reputation: 0
Post: #1
Directory index
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)
03-09-2010 09:44 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Directory index
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
03-09-2010 06:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
foxb Offline
Junior Member
*

Posts: 37
Joined: Mar 2010
Reputation: 0
Post: #3
RE: Directory index
(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...
(This post was last modified: 03-11-2010 09:23 PM by foxb.)
03-11-2010 11:35 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Directory index
/etc/httpd/vhosts/00_master.conf

/J
03-11-2010 06:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)