Current time: 11-26-2024, 12:34 PM Hello There, Guest! (LoginRegister)


Post Reply 
how can I point a subdoman to a subdir
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: how can I point a subdoman to a subdir
My version works for me, you also have to copy the Directory-Block...:

I put this into the apache2/ispcp/sub1.domain2.tld.conf

Code:
DocumentRoot    /var/www/virtual/domain2.tld/htdocs/sub1

    <Directory /var/www/virtual/domain2.tld/htdocs/sub1>
        # httpd sub entry PHP support BEGIN.
            <IfModule mod_php5.c>
                php_admin_flag engine off
            </IfModule>
            <IfModule mod_fastcgi.c>
                RemoveHandler .php
                RemoveType .php
            </IfModule>
            <IfModule mod_fcgid.c>
                RemoveHandler .php
                RemoveType .php
            </IfModule>
        # httpd sub entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

This works..

/J
08-21-2009 06:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: how can I point a subdoman to a subdir - joximu - 08-21-2009 06:43 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)