DarthViper3k Posted August 22, 2003 Share Posted August 22, 2003 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> Quote Link to comment https://forums.phpfreaks.com/topic/928-virtual-hosts/ Share on other sites More sharing options...
gizmola Posted August 22, 2003 Share Posted August 22, 2003 Is it possible that permissions need to be set for that directory? Quote Link to comment https://forums.phpfreaks.com/topic/928-virtual-hosts/#findComment-3121 Share on other sites More sharing options...
DarthViper3k Posted August 22, 2003 Author Share Posted August 22, 2003 I doubt it considering the machine is running on... *shudders* WinXP Quote Link to comment https://forums.phpfreaks.com/topic/928-virtual-hosts/#findComment-3122 Share on other sites More sharing options...
effigy Posted August 22, 2003 Share Posted August 22, 2003 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 Quote Link to comment https://forums.phpfreaks.com/topic/928-virtual-hosts/#findComment-3131 Share on other sites More sharing options...
DarthViper3k Posted August 22, 2003 Author Share Posted August 22, 2003 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? Quote Link to comment https://forums.phpfreaks.com/topic/928-virtual-hosts/#findComment-3132 Share on other sites More sharing options...
effigy Posted August 23, 2003 Share Posted August 23, 2003 what is in the error log? also, run httpd -t from the bin to check the configuration syntax. Quote Link to comment https://forums.phpfreaks.com/topic/928-virtual-hosts/#findComment-3136 Share on other sites More sharing options...
DarthViper3k Posted August 25, 2003 Author Share Posted August 25, 2003 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? Quote Link to comment https://forums.phpfreaks.com/topic/928-virtual-hosts/#findComment-3175 Share on other sites More sharing options...
DarthViper3k Posted August 29, 2003 Author Share Posted August 29, 2003 uhh nm no more probs heh Quote Link to comment https://forums.phpfreaks.com/topic/928-virtual-hosts/#findComment-3239 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.