Current time: 12-24-2024, 06:03 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT]Domain Alias Anlegen Problem
Author Message
MattesKr Offline
Junior Member
*

Posts: 38
Joined: Dec 2008
Reputation: 0
Post: #1
[ERLEDIGT]Domain Alias Anlegen Problem
System Debian Lenny
ICSP VERSION RC7

Hallo wenn ein Kunde ein Domain Alias anlegt und ich den als Reseller aktivire
und ich diesen Alias dann aufrufe bekomme ich dann die "Normale" IspCP loginseite!

Eigendlich sollte doch dann die seite aus dem Ordner des kunden kommen?

hier die Apache2 .conf
Code:
<VirtualHost 91.121.71.41:80>

    #
    #User vu2008
    #Group vu2008
    #

    <IfModule suexec_module>
           SuexecUserGroup vu2008 vu2008
    </IfModule>

    ServerAdmin     webmaster@yobitex.co.cc
    DocumentRoot    /var/www/virtual/yobixul.co.cc/yobitex.co.cc/htdocs

    ServerName      yobitex.co.cc
    ServerAlias     www.yobitex.co.cc yobitex.co.cc *.yobitex.co.cc

    Alias /errors   /var/www/virtual/yobixul.co.cc/yobitex.co.cc/errors/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    <IfModule mod_cband.c>
        CBandUser yobixul.co.cc
    </IfModule>

    # httpd awstats support BEGIN.

   ProxyRequests Off

   <Proxy *>
      Order deny,allow
      Allow from all
   </Proxy>

   ProxyPass                    /stats  http://localhost/stats/yobitex.co.cc
   ProxyPassReverse             /stats  http://localhost/stats/yobitex.co.cc

   <Location /stats>
       AuthType Basic
       AuthName "Statistics for domain yobitex.co.cc"
       AuthUserFile /var/www/virtual/yobixul.co.cc/.htpasswd
       AuthGroupFile /var/www/virtual/yobixul.co.cc/.htgroup
       Require group statistics
   </Location>

   # httpd awstats support END.

    # httpd als entry redirect entry BEGIN.
    # httpd als entry redirect entry END.

    # httpd als entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/yobixul.co.cc/yobitex.co.cc/cgi-bin/
    <Directory /var/www/virtual/yobixul.co.cc/yobitex.co.cc/cgi-bin>
        AllowOverride AuthConfig
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd als entry cgi support END.

    <Directory /var/www/virtual/yobixul.co.cc/yobitex.co.cc/htdocs>
        # httpd als entry PHP support BEGIN.
        # httpd als entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # httpd als entry PHP2 support BEGIN.
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/virtual/yobixul.co.cc/yobitex.co.cc:/var/www/virtual/yobixul.co.cc/yobitex.co.cc/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/yobixul.co.cc/yobitex.co.cc/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/yobixul.co.cc/yobitex.co.cc/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2008 -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/yobixul.co.cc/
        <Directory "/var/www/fcgi/yobixul.co.cc">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
        <Directory /var/www/virtual/yobixul.co.cc/yobitex.co.cc/htdocs>
            FCGIWrapper /var/www/fcgi/yobixul.co.cc/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/yobixul.co.cc">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    # httpd als entry PHP2 support END.

    Include /etc/apache2/ispcp/yobitex.co.cc.conf
</VirtualHost>
# httpd [yobitex.co.cc] als entry END.

# httpd [www.yobitex.co.cc] als entry BEGIN.
<VirtualHost 91.121.71.41:80>

    #
    #User vu2008
    #Group vu2008
    #

    <IfModule suexec_module>
           SuexecUserGroup vu2008 vu2008
    </IfModule>

    ServerAdmin     webmaster@www.yobitex.co.cc
    DocumentRoot    /var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/htdocs

    ServerName      www.yobitex.co.cc
    ServerAlias     www.www.yobitex.co.cc www.yobitex.co.cc *.www.yobitex.co.cc

    Alias /errors   /var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/errors/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    <IfModule mod_cband.c>
        CBandUser yobixul.co.cc
    </IfModule>

    # httpd awstats support BEGIN.

   ProxyRequests Off

   <Proxy *>
      Order deny,allow
      Allow from all
   </Proxy>

   ProxyPass                    /stats  http://localhost/stats/www.yobitex.co.cc
   ProxyPassReverse             /stats  http://localhost/stats/www.yobitex.co.cc


   <Location /stats>
       AuthType Basic
       AuthName "Statistics for domain www.yobitex.co.cc"
       AuthUserFile /var/www/virtual/yobixul.co.cc/.htpasswd
       AuthGroupFile /var/www/virtual/yobixul.co.cc/.htgroup
       Require group statistics
   </Location>

   # httpd awstats support END.

    # httpd als entry redirect entry BEGIN.
    # httpd als entry redirect entry END.

    # httpd als entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/cgi-bin/
    <Directory /var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/cgi-bin>
        AllowOverride AuthConfig
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd als entry cgi support END.

    <Directory /var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/htdocs>
        # httpd als entry PHP support BEGIN.
        # httpd als entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # httpd als entry PHP2 support BEGIN.
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/virtual/yobixul.co.cc/www.yobitex.co.cc:/var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2008 -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/yobixul.co.cc/
        <Directory "/var/www/fcgi/yobixul.co.cc">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
        <Directory /var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/htdocs>
            FCGIWrapper /var/www/fcgi/yobixul.co.cc/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/yobixul.co.cc">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    # httpd als entry PHP2 support END.

    Include /etc/apache2/ispcp/www.yobitex.co.cc.conf

</VirtualHost>
# httpd [www.yobitex.co.cc] als entry END.

# httpd [{ALS_NAME}] als entry BEGIN.
# httpd [{ALS_NAME}] als entry END.

# httpd [91.121.71.41] virtual host entry END.

# httpd [{IP}] virtual host entry BEGIN.
# httpd [{IP}] virtual host entry END.

# httpd Data END.

wobei yubixul.co.cc der kunde ist und yobitex.co.cc der alias sein sollte


Grüße Mattes
(This post was last modified: 02-09-2009 05:35 PM by ZooL.)
02-08-2009 11:45 PM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Domain Alias Anlegen Problem
Hallo

Der zweite Alias "www.yobitex.co.cc" (also mit www, statt ohne) ist sinnlos - aber das sollte nicht das Problem sein.

Wenn ich http://www.yobitex.co.cc oder yobitex.co.cc ansurfe, dann sehe ich die default Website für genau diesen Alias - also nicht das ispcp-login.

/J
02-09-2009 01:21 AM
Visit this user's website Find all posts by this user
MattesKr Offline
Junior Member
*

Posts: 38
Joined: Dec 2008
Reputation: 0
Post: #3
RE: Domain Alias Anlegen Problem
komisch jetzt geht das ( nach einer warte zeit von 3 stunden )
selbst mit unterschiedlichen browsern und Clienten
02-09-2009 01:44 AM
Find all posts by this user
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #4
RE: Domain Alias Anlegen Problem
(02-09-2009 01:44 AM)MattesKr Wrote:  komisch jetzt geht das ( nach einer warte zeit von 3 stunden )
selbst mit unterschiedlichen browsern und Clienten

wenn du dns einträge auch erst eben erstellt hast ist das vieleicht normal dns braucht halt seine zeit..
02-09-2009 02:04 AM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


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