Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 12th, 2001, 01:22 PM
i.maizel i.maizel is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 12 i.maizel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hello,

I am running into the following problem. There are 2 machines, the development machine X and the production machine Y. The Apache directory on X is /foo and the Apache directory on Y is /bar. I copied the httpd on X from /foo/bin/ to Y's direcotry /bar/bin. Now when I start httpd, I get this error message:
Syntax error on line 213 of /foo/conf/httpd.conf.
It looks like the httpd from X still thinks that it is located in /foo/bin, so it looks for /foo/conf/httpd.conf.
Is there any way around this problem? I cannot comple Apache in any other directory on X, nor can I compile it on Y because it is the production machine. (I do not know how Y's httpd got there in the first place as it was done a long time go by another person).

Any help would be greatly appreciated.

I. Maizel

Reply With Quote
  #2  
Old April 12th, 2001, 04:11 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> I copied the httpd on X from /foo/bin/ to Y's direcotry /bar/bin

You can't do that. Apache comes with many other lib include files and they must be linked. How do you know both X and Y are identical?

Reply With Quote
  #3  
Old April 16th, 2001, 08:28 AM
i.maizel i.maizel is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 12 i.maizel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I did copy all the lib files as well. The structures of the 2 directories should be the same.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Copying httpd to another machine


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway