New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Remove Default Page

Started by kironet, April 15, 2015, 08:30:28 PM

Previous topic - Next topic

kironet

Hello,

How can I disable default page? This page displays if index file not exist.

In google I found this:

/etc/httpd/conf.d/welcome.conf


# This configuration file enables the default "Welcome"
# page if there is no default index page present for
# the root URL.  To disable the Welcome page, comment
# out all the lines below.
#
<LocationMatch "^/+$">
   Options -Indexes
   ErrorDocument 403 /error/noindex.html
</LocationMatch>


but this path not exist.

Thanks

brijendrasial

I think path is /usr/local/apache/htdocs ?

Administrator

this path /etc/httpd is not used anywhere in the cwp, you should completely ignore that path as this is not CWP apache.
default path is /usr/local/apache/htdocs

Marczzz

Dear All,

I'm currently facing similar problem reported in this forum, i.e. website keeps pointing to the default CWP HTTP Test Page found in /usr/local/apache/htdocs. It is not able to display my index.php in my "/home/USERNAME/public_html".


I've visited this forum several times and also tried various recommendation (see below) but none works.
-> update #DocumentRoot in Apache config (/usr/local/apache/conf/httpd.conf) to point to my index.php in /public_html
-> update <Directory "/home/admin/public_html"> in Apache config (/usr/local/apache/conf/httpd.conf)
-> rebuild vhost
-> fix permission to my USERNAME (found in left menu -> User Account -> Fix Permission)
-> restart Apache service
-> also reboot server

Unfortunately, none of the above works...

This is a new installation. And I'm not running Varnish either.
Its domain name is currently not setup yet. I'm using its IP to test for the time being.

Would appreciate if anyone could point me to the right solution please.


Thanks!


Administrator