LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2005, 11:45 PM   #1
libsys
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Rep: Reputation: 0
Restarting Apache Virtual Hosts Individually


Is it possible to somehow restart a virtual host in Apache separately from the other hosts? For example, if we have a virtual host with a script that is causing the httpd process to hang, or run slowly, is it possible to just reject requests for pages under that virtual host? I suppose we could stop the server, uncomment the virtual host configuration from httpd.conf, and restart the server, but that's a pretty messy way of doing it, IMHO.

I'm not a code guru, but I'm guessing this is probably not possible as I believe all virtual hosts run under the same httpd process. However, it would be great to know that if one of our sites is playing up, we can just run a command to stop serving pages from it, while still allowing users to access the other sites that are hosted on this web server.

Any advice would be greatly appreciated!

Thanks,
Guy
 
Old 04-12-2005, 04:46 AM   #2
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
I don;t think you can get around that httpd.conf edit.

service httpd reload (if using Fedora/redhat)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
apache virtual hosts smaida Linux - Software 3 06-20-2004 04:28 PM
Apache Virtual Hosts quozt Linux - General 3 10-15-2003 09:51 AM
Apache Virtual Hosts quozt Linux - Networking 1 07-29-2003 05:56 PM
Apache Virtual Hosts (again) scatcat Linux - General 1 10-17-2002 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration