Bluehost.com Web Hosting $6.95

problem with apache

This is a discussion on problem with apache within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi I have apache instaled on my ext. hard disk, and the root directory is ( e:/xampp/xampp/ ) When I ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-02-2007
xxpepoxx@gmail.com
 
Posts: n/a
Default problem with apache

Hi

I have apache instaled on my ext. hard disk, and the root directory is
( e:/xampp/xampp/ ) When I change the computer, the drive letter on
this hard disk is g:/ and my apache is not working. Any solution to
fix the apache to work form two root directory? without instaling
another instance of apache.


tnx

  #2 (permalink)  
Old 06-02-2007
Nil
 
Posts: n/a
Default Re: problem with apache

On 02 Jun 2007, xxpepoxx@gmail.com wrote in
comp.infosystems.www.servers.ms-windows:

> I have apache instaled on my ext. hard disk, and the root
> directory is ( e:/xampp/xampp/ ) When I change the computer, the
> drive letter on this hard disk is g:/ and my apache is not
> working. Any solution to fix the apache to work form two root
> directory? without instaling another instance of apache.


You don't say what the problem is, but the first thing I'd do would be
to examine httpd.conf and adjust any incorrect paths.
  #3 (permalink)  
Old 06-03-2007
xxpepoxx@gmail.com
 
Posts: n/a
Default Re: problem with apache


> You don't say what the problem is, but the first thing I'd do would be
> to examine httpd.conf and adjust any incorrect paths.


hi

The problem is that I would like to use ext. hard disk, with one
instance of apache on two diffrent computers. The hard disk have two
diffrent drive letters on each computer. On one is e:/ and on the
otherone is g:/ . The xampp is installed on e:/xampp. All this paths
are e:/xampp in the httpd.conf. I will like to know if there is some
solution to put two root working directory in the httpd.conf or
somewhere in the xampp folder. On that way I wil have one instance of
apache working on two diffrent computers. If I change the incorrect
paths, then apache will not work on the previos computer.


tnx

  #4 (permalink)  
Old 06-03-2007
Nil
 
Posts: n/a
Default Re: problem with apache

On 03 Jun 2007, xxpepoxx@gmail.com wrote in
comp.infosystems.www.servers.ms-windows:

> The problem is that I would like to use ext. hard disk, with one
> instance of apache on two diffrent computers. The hard disk have
> two diffrent drive letters on each computer. On one is e:/ and on
> the otherone is g:/ . The xampp is installed on e:/xampp. All
> this paths are e:/xampp in the httpd.conf. I will like to know if
> there is some solution to put two root working directory in the
> httpd.conf or somewhere in the xampp folder. On that way I wil
> have one instance of apache working on two diffrent computers. If
> I change the incorrect paths, then apache will not work on the
> previos computer.


So, you will hand carry the external drives and run apache on one
computer or the other at various times? I don't know anything about
"xampp", but with plain old apache, I would create two different
httpd.conf files, one for each computer showing the appropriate drive
letter designations. I would then invoke apache on each computer with
the "-f" command-line option, which can tell apache which of the two
..conf files to use.

http://httpd.apache.org/docs/2.2/invoking.html

Another possibility might be to use the "-d" startup option, as
described here:

http://httpd.apache.org/docs/2.2/programs/httpd.html

I've never used it, so I don't know the pitfalls, if any.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0