Jump to content

Archived

This topic is now archived and is closed to further replies.

DarthViper3k

Virtual Hosts

Recommended Posts

I got a problem with my Virtual Host

 

everytime I try to run apache I get this....

 

\"No such file or Directory: could not open transfer log file /3kphp/logs/access.log\"

 

however...

it IS there

I could take a screen shot of the window I have showing its existance

 

I\'ve checked myspelling (common problem with me)

I\'ve checked everything I can think to check

 

does anybody have any ideas?

 

vhost.conf


<VirtualHost *>

  ServerAdmin dv_tec@go.com

  DocumentRoot /default

  ServerName www.dv-tec.net

  ServerAlias dv-tec.net

  CustomLog logs/access.log common

  ErrorLog logs/error.log

</VirtualHost>



<VirtualHost *>

  ServerAdmin dv_tec@go.com

  DocumentRoot /3kphp

  ServerName hosting.dv-tec.net

  ServerAlias hosting.dv-tec.net

  CustomLog /3kphp/logs/access.log common

  ErrorLog /3kphp/logs/error.log

</VirtualHost>

Share this post


Link to post
Share on other sites

Is it possible that permissions need to be set for that directory?

Share this post


Link to post
Share on other sites

since it is running on windows, your paths should be windows syntax.

 

c:/3kphp/logs/access.log (i think) instead of /3kphp/logs/access.log

Share this post


Link to post
Share on other sites

well putting C: and such in there causes Apache to not run at all

or it\'ll give me a 2nd error hold on a sec

 

let me get in ony server

on my personal machine atm

 

hmmm

odd

 

its working now

last time that didn\'t work

 

thx man

 

edit:

uhh

 

I\'m not getting an interal sever error when I try to go to the page

 

what exactly is goin on?

Share this post


Link to post
Share on other sites

what is in the error log? also, run httpd -t from the bin to check the configuration syntax.

Share this post


Link to post
Share on other sites

I don\'t think there is anything wrong with the configuration b/c Apache runs perfectly fine until I include the vhost.conf

 

would that b/c my DNS hasn\'t been set up yet?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.