Re: DocumentRoot... NOT!`
Ok folks.. I've been using Apache for many years.. I'm not familiar with all of its directives but I know how work it. I've just recently went with dedicated hosting and the box came with fedora core 4 and plesk 8.. which I removed as it was using site builder and just using up too much resources along with confusing me.. I find the command line much more friendlier! Anyhow, my problem. Apache 2.0 DocumentRoot "/var/www/html" & DocumentDirectory "/var/www/html" as well... the defaults.
the permissions on html drwxr-xr-x.. ok. I have documents in html... directories and files. Let's use index.html with full permissions. when I go to my domain www.clickablelove.com I get an index listting page with no listings as though I had no files or dirs in my document root??? I have no clue what it can be.. has anyone dealt with this before? I need some help.. trying to launch some sites but being held back too long by this silly issue of mine!! Cheers! Chris |
Look at /etc/httpd/conf/httpd.conf.
may be a Virtual Hosts |
Thanks for the message and yes there is a vhost directive as I have another domain. I've been using vhosts for sometime now and I don't believe this to be the problem. I'm gonna comment the vhost out and restart httpd and see though... just to say I've tried it.
Thanks, Chris |
Thanks!
My RedHat goes off to you comprookie200. it was the vhost directive causing the problem as httpd was serving from that instead of the document root. I don't understand though because I have configured the vhost the same way as I always have.... can you notice anything odd with this?
NameVirtualHost 74.210.9.160 <VirtualHost 74.210.9.160> # ServerAdmin webmaster@dummy-host.example.com DocumentRoot /var/www/html/vhost ServerName www.vhost.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common </VirtualHost> Thanks, Chris |
I think once you start using virtual hosts the default site needs to be listed first.
something like; Code:
|
All Good Now! : )
Thanks and once again comprookie2000 you are absolutely right... I figured it out after I compared my other httpd.conf file. Things have all come together nicely now... something tells me I may need to come back here for more help though in a bit! You've been a good help.. thanks alot!!
Chris |
Your welcome, where is the site?
|
Re: Sites
Hey comprookie2000.. who's not so much a rookie afterall! lol
The sites are www.clickablelove.com & and www.gtagoodies.com they are both works in progress at this point but just about done. cheers, Chris |
All times are GMT -5. The time now is 09:55 AM. |