RSS Forums RSS
Please support our Linux Servers and Apache advertiser: Programming Forums
Views: 7692 | Replies: 2
Join Date: Jul 2005
Posts: 1
Reputation: Anand Parajuli is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Anand Parajuli Anand Parajuli is offline Offline
Newbie Poster

Second Apache at different port

  #1  
Jul 28th, 2005
Hi,
I have been given a server which runs Apache2. Its working fine by itself. What I need to do is run another apache server in port (say)8000 is folder /home/myname (in the same machine). From what I know, if I have proper configuration files in my folder we should be able to run another apache server from there. Please correct me if I am wrong. I tried copying the already existing config files in the server to my folder and changing the Port to 8000. This doesn't seem to work as I cannot write to many files because I do not have permission to do so. Also there seem to be too many interconnected files that I do not have permission to write on.

Can someone guide me to write a config file (httpd.conf) for the server at port 8000!!!

my final aim will be to communicate between these two servers (Hopefully urllib will help me do that).

I was wondering if the whole idea of running second apache in a different folder just by using configuration file/s (httpd.conf) as mentioned above work or not!!

If I make the same version of Apache listen to two ports (8000 and 80 lets say) using virtural hosts, can they be assigned different configuration?? e.g. making these two run different file by default!!

Where in the config file do we make apache run a specific file on receiving a request???


Anand
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:12 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC