Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Simpler way to handle Virtual Hosts

Posted on 2005-02-25
1
Medium Priority
?
236 Views
Last Modified: 2010-03-04
I am a PHP programmer not an Apache expert.  I can setup a Virtual Host in the httpd.conf but I have a need to setup a fairly large number of them and change them on a regular basis.  I would rather set it up as an admin function of some sort and not have to restart apache every time I set one up.  Does anybody know of a way to do that?
0
Comment
Question by:RoyRainey
1 Comment
 
LVL 5

Accepted Solution

by:
mrielf earned 1500 total points
ID: 13408463
There are many ways to do this (with PHP, rewriting,etc...)

Read this documentation:
http://httpd.apache.org/docs-2.0/rewrite/rewrite_guide_advanced.html.en

There is a "Mass Virtual Hosting" section wich describe the way how you can do this with rewriting

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month10 days, 5 hours left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question