Results 1 to 2 of 2

Thread: userdir and vhosts in Apache2

  1. #1
    Join Date
    Apr 2009

    userdir and vhosts in Apache2

    I just recently was asked to setup a basic webserver box for a couple of friends that are planning on putting the machine in a colocation center. They own two domain names that they are planning to host out of the machine. I have setup vhosts to handle their domains to two separate directories so they can keep them separate. They are now asking if they can have one of the vhosts serve up userdirs but have the other not serve them. So if they get a request to it will serve user's public_html but will not.

    From what I can tell, userdir.conf in mods-available is for the entire Apache installation. Is there anyway that I can setup apache to accept userdir requests on one domain and not another?

  2. #2
    Join Date
    Feb 2007

    Re: userdir and vhosts in Apache2


    Have you got to work mod_rewrite with mod_userdir

    I can't get mod_rewrite to work with user's pages on /home/user/public_html, although it appears to work fine for server root pages on /opt/lampp/htdocs

    Last edited by rrll1977; May 18th, 2009 at 04:31 PM.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts