httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] change default apache welcome page
Date Fri, 14 Oct 2011 12:37:28 GMT
On Fri, Oct 14, 2011 at 7:36 AM, Amira Othman <a.othman@cairosource.com> wrote:
> Hi all
>
>
>
> I need to change apache default welcome page to customized one. When I add
> index.php to DocumentRoot  (default not that with virtual host) nothing
> change I get the same welcome page. And when I disable welcome page I get
> not allowed error page.How to change it and if I want to customize error
> pages how to do it?


Your server probably doesn't look for an "index.php" -- find your
current DirectoryIndex, or add a new one, e.g.

DirectoryIndex index.php index.html

http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex
>
>
>
> Regards



-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message