[Solved] Apache2 | Vhost ..

Seite 1 von 1 - Forum: Linux and other OS auf overclockers.at

URL: https://www.overclockers.at/linux/solved_apache2_vhost_170547/page_1 - zur Vollversion wechseln!


noizemaker schrieb am 25.10.2006 um 16:00

Hallo,

Also ich möchte gerne eine DynDns.org "Domain" auf meinen apache linken.. ist ein static host .. url lautet Http://noizemaker.kicks-ass.net

Mein problem ist das er nicht richtig verlinkt ! Habe nur eine weisse seite mehr nichts, .. einen auszug meiner vhost config

Code:
NameVirtualHost noizemaker.kicks-ass.net
<VirtualHost 85.14.218.84>
        ServerAdmin [email]noizemakeraustria@gmx.at[/email]
        ServerName noizemaker.kicks-ass.net
        ServerAlias noizemaker.kicks-ass.net *.noizemaker.kicks-ass.net
        DocumentRoot /var/www/noize
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/noize/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
                # Uncomment this directive is you want to see apache2's
                # default start page (in /apache2-default) when you go to /
                #RedirectMatch ^/$ /apache2-default/
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None

                Order allow,deny
                allow from all
                # Uncomment this directive is you want to see apache2's
                # default start page (in /apache2-default) when you go to /
                #RedirectMatch ^/$ /apache2-default/
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined
        ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

OS: Debian 64bit ..

sollte alles passen, habs mit domain namen versucht, mit ip´s + ports usw .. alles geht net .. ich verstehs net :confused: ..

Vielleicht sieht von euch einer den fehler ?! .. :cool:

Big thx !

mfg
cyber2k


noizemaker schrieb am 26.10.2006 um 20:07

solved .. closed pls


that schrieb am 26.10.2006 um 20:12

Nix "closed pls" - wo ist die Lösung?


mat schrieb am 26.10.2006 um 20:18

Code:
NameVirtualHost *:80

<VirtualHost *:80>
     ServerName noizemaker.kicks-ass.net

     ...
</VirtualHost>
das sollte funktionieren.


noizemaker schrieb am 29.10.2006 um 19:11

Zitat von mat
Code:
NameVirtualHost *:80

<VirtualHost *:80>
     ServerName noizemaker.kicks-ass.net

     ...
</VirtualHost>
das sollte funktionieren.

stimmt, lag aber daran das die kiste ein vserver is, und die domains auf der "master" kiste auch eingtragen werden müssen, sonst findens die richtige seite net ..




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2026