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


Post Reply 
Adding Alias as Forward - complete VHost-entry necessary?
Author Message
jmeyerdo Offline
Junior Member
*

Posts: 173
Joined: Oct 2007
Reputation: 2
Post: #3
RE: Adding Alias as Forward - complete VHost-entry necessary?
Hi!

Thank you for your answer.
joximu Wrote:no, there's no *technical* reason. The project is based on vhcs and it was like this in vhcs.

Maybe one reason is: if you change/switch from forward to normal domain: the dmn-manager can just remove/add the redirect line without doing more...

Hmm, is the complete entry not written when there are changes with the alias?

IMHO you only need:
Code:
ServerAdmin     webmaster@testdomain.de

    ServerName      testdomain.de
    ServerAlias     www.testdomain.de testdomain.de *.testdomain.de

    ErrorLog        /var/log/httpd/users/testdomain.de-error.log
    TransferLog     /var/log/httpd/users/testdomain.de-access.log

    CustomLog       /var/log/httpd/maindomain.de-traf.log traff
    CustomLog       /var/log/httpd/maindomain.de-combined.log combined

    # httpd als entry redirect entry BEGIN.
    Redirect / http://www.myexternalurl.de
    # httpd als entry redirect entry END.

Especially DocumentRoot should be disabled? It should be not necessary to create any directories in this case also.
I will open an "beautifying-ticket", ok?

Kind regards, Jens
(This post was last modified: 11-25-2007 08:46 PM by jmeyerdo.)
11-25-2007 08:42 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Adding Alias as Forward - complete VHost-entry necessary? - jmeyerdo - 11-25-2007 08:42 PM

Forum Jump:


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