Jump to content


Photo

Virtual Hosts


  • Please log in to reply
7 replies to this topic

#1 DarthViper3k

DarthViper3k
  • Members
  • PipPipPip
  • Advanced Member
  • 50 posts

Posted 22 August 2003 - 07:20 AM

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>

[!--PHP-Head--][div class=\'phptop\']PHP[/div][div class=\'phpmain\'][!--PHP-EHead--]
switch($php) {
    case = \"given\" : {
       $website = 1;
       break;
    }     case = \"taught\" : {        $website = lifetime;        break;     } } [/span][!--PHP-Foot--][/div][!--PHP-EFoot--] The lazy never learn. The lazy are the downfall of many great things. Take the time to learn.

#2 gizmola

gizmola
  • Administrators
  • Advanced Member
  • 4,664 posts
  • LocationLos Angeles, CA USA

Posted 22 August 2003 - 04:41 PM

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

#3 DarthViper3k

DarthViper3k
  • Members
  • PipPipPip
  • Advanced Member
  • 50 posts

Posted 22 August 2003 - 08:19 PM

I doubt it considering the machine is running on...

*shudders*
WinXP
[!--PHP-Head--][div class=\'phptop\']PHP[/div][div class=\'phpmain\'][!--PHP-EHead--]
switch($php) {
    case = \"given\" : {
       $website = 1;
       break;
    }     case = \"taught\" : {        $website = lifetime;        break;     } } [/span][!--PHP-Foot--][/div][!--PHP-EFoot--] The lazy never learn. The lazy are the downfall of many great things. Take the time to learn.

#4 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 22 August 2003 - 10:46 PM

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
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#5 DarthViper3k

DarthViper3k
  • Members
  • PipPipPip
  • Advanced Member
  • 50 posts

Posted 22 August 2003 - 10:48 PM

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?
[!--PHP-Head--][div class=\'phptop\']PHP[/div][div class=\'phpmain\'][!--PHP-EHead--]
switch($php) {
    case = \"given\" : {
       $website = 1;
       break;
    }     case = \"taught\" : {        $website = lifetime;        break;     } } [/span][!--PHP-Foot--][/div][!--PHP-EFoot--] The lazy never learn. The lazy are the downfall of many great things. Take the time to learn.

#6 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 23 August 2003 - 06:05 AM

what is in the error log? also, run httpd -t from the bin to check the configuration syntax.
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#7 DarthViper3k

DarthViper3k
  • Members
  • PipPipPip
  • Advanced Member
  • 50 posts

Posted 25 August 2003 - 12:00 AM

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?
[!--PHP-Head--][div class=\'phptop\']PHP[/div][div class=\'phpmain\'][!--PHP-EHead--]
switch($php) {
    case = \"given\" : {
       $website = 1;
       break;
    }     case = \"taught\" : {        $website = lifetime;        break;     } } [/span][!--PHP-Foot--][/div][!--PHP-EFoot--] The lazy never learn. The lazy are the downfall of many great things. Take the time to learn.

#8 DarthViper3k

DarthViper3k
  • Members
  • PipPipPip
  • Advanced Member
  • 50 posts

Posted 29 August 2003 - 07:04 PM

uhh
nm

no more probs

heh
[!--PHP-Head--][div class=\'phptop\']PHP[/div][div class=\'phpmain\'][!--PHP-EHead--]
switch($php) {
    case = \"given\" : {
       $website = 1;
       break;
    }     case = \"taught\" : {        $website = lifetime;        break;     } } [/span][!--PHP-Foot--][/div][!--PHP-EFoot--] The lazy never learn. The lazy are the downfall of many great things. Take the time to learn.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users