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

RE: [cobalt-users] httpd.conf problem



When a user logs in to upload files, the initial location the user is
sent to is /users/(username)/

You need to instruct your users to backup in the tree to their / and
then go into the /web folder to upload files.

I also have a difficult time explaining this to some of my customers and
would like to come up with a work around, but have not yet discovered a
good way to do it.

JC Jones

-> -----Original Message-----
-> From: cobalt-users-admin@xxxxxxxxxxxxxxx 
-> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of 
-> Gurpreet Singh
-> Sent: Saturday, November 10, 2001 2:48 AM
-> To: cobalt-users@xxxxxxxxxxxxxxx
-> Subject: [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.
-> 
-> 
-> _______________________________________________
-> cobalt-users mailing list
-> cobalt-users@xxxxxxxxxxxxxxx
-> To Subscribe or Unsubscribe, please go to: 
-> -> http://list.cobalt.com/mailman/listinfo/cobalt-users
->