paul Posted February 26, 2003 Report Share Posted February 26, 2003 also did you try http://yourhostname.whatever/index.htm ?? index.htm may not be in your DirectoryIndex my suggestion is to move /var/www/calandria to /var/www/html then change the commonhttpd.conf and Vhost.conf files to reflect the change As steve mention /var/www/html is the default dir and will work straight from install Quote Link to comment Share on other sites More sharing options...
Guest tcreek Posted February 26, 2003 Report Share Posted February 26, 2003 Okay. I did those suggestions with and without the /index.htm and still same result. <Directory /var/www/html/calandria> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory> ################# Named VirtualHosts NameVirtualHost 66.25.242.26 <VirtualHost 66.25.242.26> ServerName calandria.dynu.com #ServerPath /domain ServerAlias www.calandria.com DocumentRoot /var/www/html/calandria </VirtualHost> Quote Link to comment Share on other sites More sharing options...
paul Posted February 26, 2003 Report Share Posted February 26, 2003 ok open a terminal (xterm or whatever) su - root then do this tail -f /var/log/httpd/errors* this will watch the error logs in realtime then try to access your website a few times, and see what turns up in the logs. post them back here Quote Link to comment Share on other sites More sharing options...
Guest tcreek Posted February 26, 2003 Report Share Posted February 26, 2003 here is is [Tue Feb 25 23:56:03 2003] [error] [client 192.168.1.253] client denied by server configuration: /var/www/calandria/index.htm [Tue Feb 25 23:56:23 2003] [error] [client 192.168.1.253] client denied by server configuration: /var/www/calandria Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 26, 2003 Report Share Posted February 26, 2003 It has got to be a permissions problem, because no matter if I put impossible names for files, it always tells me... Forbidden I tried to browse there by ip and all kinds of combinations for document roots. The other site still work fine? Quote Link to comment Share on other sites More sharing options...
Guest tcreek Posted February 26, 2003 Report Share Posted February 26, 2003 Never mind. I got it!! I had to change it in the LinxConf to /var/www/html/calandria Thanks so much for the help guys!!! Trent Quote Link to comment Share on other sites More sharing options...
Guest tcreek Posted February 26, 2003 Report Share Posted February 26, 2003 Ooops! Cancel that! Now the mail web site does not work. Quote Link to comment Share on other sites More sharing options...
Guest tcreek Posted February 26, 2003 Report Share Posted February 26, 2003 Sorry...I mean MAIN web site Quote Link to comment Share on other sites More sharing options...
paul Posted February 26, 2003 Report Share Posted February 26, 2003 I've never used LinuxConf to configure websites, so I don't know what its doing .... I'll go do some reading Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 26, 2003 Report Share Posted February 26, 2003 My last post was posted before I saw your error file. I noticed this directive in my default installation in /etc/httpd/conf/commonhttpd.conf <IfModule mod_status> /etc/httpd/conf/commonhttpd.conf (526) <Location /server-status> SetHandler server-status /etc/httpd/conf/commonhttpd.conf (528) Order deny,allow /etc/httpd/conf/commonhttpd.conf (529) Deny from all /etc/httpd/conf/commonhttpd.conf (530) allow from 127.0.0.1 /etc/httpd/conf/commonhttpd.conf (531) </Location> </IfModule> This is a little over my head, but if you have that module, then the default is to deny from all but 127.0.0.1 Quote Link to comment Share on other sites More sharing options...
Guest tcreek Posted February 26, 2003 Report Share Posted February 26, 2003 I thought I read some time ago that once you setup one virtual host, the main site is cancelled out and then you must make all sites virtual Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 26, 2003 Report Share Posted February 26, 2003 Well, set it back to the /var/www document root, because that at least works for the main site. There has got to be some directive in the virtual hosts config that is denying from all. Quote Link to comment Share on other sites More sharing options...
paul Posted February 26, 2003 Report Share Posted February 26, 2003 I thought I read some time ago that once you setup one virtual host, the main site is cancelled out and then you must make all sites virtual nope there is a default site, so you can still access the machine via IP ex: http://www.thewebb.net.nz (on my loudas server) http://loudas.com (on my loudas server) http://202.27.218.97 (my default site on my loudas server) Quote Link to comment Share on other sites More sharing options...
Guest tcreek Posted February 26, 2003 Report Share Posted February 26, 2003 Well now the calandria.dynu.com site is now also my main domain also now :-(( this is the closest module I can find on it <IfModule mod_status.c> <Location /server-status> SetHandler server-status Order deny,allow Deny from all allow from 127.0.0.1 #Allow from .your_domain.com </Location> Quote Link to comment Share on other sites More sharing options...
Guest tcreek Posted February 26, 2003 Report Share Posted February 26, 2003 Maybe I should give up and switch to Win 2000 AS :-( This is too much of a headache. I do get the Virtual Server to work, but then it takes control over the main host site. When I remove the Virtual site it is back to normal. Anything else?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.