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 [email protected] DocumentRoot /default ServerName www.dv-tec.net ServerAlias dv-tec.net CustomLog logs/access.log common ErrorLog logs/error.log </VirtualHost> <VirtualHost *> ServerAdmin [email protected] DocumentRoot /3kphp ServerName hosting.dv-tec.net ServerAlias hosting.dv-tec.net CustomLog /3kphp/logs/access.log common ErrorLog /3kphp/logs/error.log </VirtualHost> 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? 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 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 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? 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. 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? 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 Link to comment https://forums.phpfreaks.com/topic/928-virtual-hosts/#findComment-3239 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.