[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] httpd.conf problem



Hello,

When we setup a site on a Cobalt server, it does not show the index.html
loaded by the client at times, and instead it shows the Placeholder page
put in by Cobalt.

On checking the path where we FTP'ed the files we found that the files
were FTP'd into '/home/sites/site12/users/<username>/web, whereas the
httpd.conf file in /etc/httpd/conf/ has Document Root as
'/home/sites/site12/web'. On changing the Document Root to
'/home/sites/site12/users/itcog/web', and restarting httpd, the site
loaded by the client started displaying.

The part of the httpd.conf which we are referring to is shown below -->

<VirtualHost 216.109.76.9>
ServerName www.litco.org
ServerAlias litco.org
ServerAdmin site12
#DocumentRoot /home/sites/site12/web
DocumentRoot /home/sites/site12/users/itcog/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.109.76.9(:80)?$
RewriteCond %{HTTP_HOST}                !^www.litco.org(:80)?$
RewriteRule ^/(.*)                      http://www.litco.org/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site12/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site12/users/$1/web/$3
</VirtualHost>

Why is Cobalt behaving like this ? What is the solution ?

Thanks,

--

Gurpreet Singh

President/CEO
DelhiNet Web Services Pvt. Ltd.

Mobile: +91-9811088399 | E-Fax: +1(503) 2149982
Yahoo! Messanger ID on Mobile (always on, 24 hours) : delhinet
E-Mail: mailto:gp@xxxxxxxxxxxxxxx | Web Site: http://allindianet.com

Contact Details at http://allindianet.com/contact
ICQ Pager: 12560431 | AOL Instant Messanger Screen name: GPSDNET
MSN Messanger User Name: mohindragps | Yahoo! Messanger ID: gpsdnet

The information contained in this electronic transmission is intended
only for the use of the recipient and may be confidential and
privileged. Unauthorized use, disclosure or reproduction is strictly
prohibited, and unlawful.  If you have received this electronic
transmission in error, please notify the sender immediately.