Confixx Adresse
-
maverick0901
- Posts: 57
- Joined: 2004-02-29 14:08
Confixx Adresse
Hallo wie stell ich es an das man Confixx nur über eine Domain erreicht ? z.z ist es bei mir so das wenn ich (egal welche domain auf meinem Server gehostet wird) https://domain.de eingebe das er automatisch zum confixx login wechselt ??
-
Roger Wilco
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: Confixx Adresse
Indem der VirtualHost von Confixx nicht an erster Stelle steht.maverick0901 wrote:Hallo wie stell ich es an das man Confixx nur über eine Domain erreicht ?
-
maverick0901
- Posts: 57
- Joined: 2004-02-29 14:08
Re: Confixx Adresse
Danke erstmal für deine antwort also müsste ich die confixx_vhost ändern oder ist es die confixx_mhost ?
meine vhost sieht z.z so aus
#### CONFIXX APACHE VHOST FILE ####
### created Sat Jun 18 13:14:02 2005 ###
UseCanonicalName Off
php_admin_flag safe_mode On
php_admin_value safe_mode_exec_dir /srv/www/htdocs/empty/
LogFormat "%V:#:%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"" confixx
LogFormat "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"" confixx2
CustomLog |/root/confixx/pipelog.pl confixx
<Directory "/srv/www/htdocs">
<Files ~ "^.ht">
deny from all
</Files>
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Options None
Options +FollowSymLinks +Includes
</Directory>
<Directory "/srv/www/htdocs/web1/html">
Options -FollowSymLinks -SymLinksIfOwnerMatch
<IfModule mod_access.c>
Allow from all
</IfModule>
</Directory>
<VirtualHost 85.xxx.xxx.xx:80>
ServerName hxxxxx.serverkompetenz.net
ServerAlias http://www.hxxxxx.serverkompetenz.net
DocumentRoot /srv/www/htdocs/web0/html
SuexecUserGroup web0 ftponly
ScriptAlias /cgi-bin/ /srv/www/htdocs/web0/html/cgi-bin/
php_admin_value open_basedir /srv/www/htdocs/web0/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /srv/www/htdocs/web0/phptmp/
</VirtualHost>
<VirtualHost 85.xxx.xxx.xx:80>
ServerName napoli.de
ServerAlias http://www.napoli.de web1.napoli.de
DocumentRoot /srv/www/htdocs/web1/html
SuexecUserGroup web1 ftponly
ScriptAlias /cgi-bin/ /srv/www/htdocs/web1/html/cgi-bin/
php_admin_value open_basedir /srv/www/htdocs/web1/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /srv/www/htdocs/web1/phptmp/
</VirtualHost>
und meine mhost so
## CONFIXX
<Directory "/srv/www/htdocs/confixx/html">
AllowOverride all
<IfModule mod_access.c>
Allow from all
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymlinks
RewriteRule ^reseller/res[0-9]+/(.*)$ reseller/$1 [L]
RewriteRule ^user/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+/(.*)$ user/$1 [L]
RewriteRule ^ftplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+/(.*)$ ftplogin/$1 [L]
RewriteRule ^ftplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+f[0-9]+/(.*)$ ftplogin/$1 [L]
RewriteRule ^poplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+p[0-9]+/(.*)$ poplogin/$1 [L]
</IfModule>
AddDefaultCharset off
</Directory>
NameVirtualHost 85.xxx.xxx.xxx:80
<VirtualHost 85.xxx.xxx.xxx:80>
Servername linux.local
DocumentRoot /srv/www/htdocs/confixx/html/gesperrt
</VirtualHost>
<VirtualHost 85.xxx.xxx.xxx:80>
ServerName napoli.de
#User confixx
#Group confixx
DocumentRoot /srv/www/htdocs/confixx/html
Options FollowSymLinks
php_admin_flag safe_mode Off
php_admin_flag file_uploads On
php_admin_flag track_vars On
php_admin_flag magic_quotes_runtime Off
php_admin_flag magic_quotes_gpc Off
php_admin_value upload_tmp_dir /srv/www/htdocs/confixx/tmp
php_admin_value include_path ".:/srv/www/htdocs/confixx/html/include:/srv/www/htdocs/confixx/html"
php_admin_value default_charset none
php_admin_value open_basedir /srv/www/htdocs/confixx
php_admin_value session.cookie_path /
php_admin_value session.auto_start 0
php_admin_value session.gc_maxlifetime 1800
php_admin_value session.use_cookies 1
php_admin_value session.cookie_lifetime 0
php_admin_value session.cookie_domain none
php_admin_value session.cookie_secure Off
php_admin_value session.use_trans_sid 0
ScriptAlias /cgi-bin/ /srv/www/htdocs/confixx/html/cgi-bin/
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
CustomLog /var/log/apache2/confixx/hxxxxxx.serverkompetenz.net_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
ErrorLog /var/log/apache2/confixx/hxxxxxx.serverkompetenz.net_error.log
</VirtualHost>
NameVirtualHost 85.xxx.xxx.xxx:443
<VirtualHost 85.xxx.xxx.xxx:443>
ServerName hxxxxxx.serverkompetenz.net
#User confixx
#Group confixx
DocumentRoot /srv/www/htdocs/confixx/html
Options FollowSymLinks
php_admin_flag safe_mode Off
php_admin_flag file_uploads On
php_admin_flag track_vars On
php_admin_flag magic_quotes_runtime Off
php_admin_flag magic_quotes_gpc Off
php_admin_value upload_tmp_dir /srv/www/htdocs/confixx/tmp
php_admin_value include_path ".:/srv/www/htdocs/confixx/html/include:/srv/www/htdocs/confixx/html"
php_admin_value default_charset none
php_admin_value open_basedir /srv/www/htdocs/confixx
php_admin_value session.cookie_path /
php_admin_value session.auto_start 0
php_admin_value session.gc_maxlifetime 1800
php_admin_value session.use_cookies 1
php_admin_value session.cookie_lifetime 0
php_admin_value session.cookie_domain none
php_admin_value session.cookie_secure Off
php_admin_value session.use_trans_sid 0
ScriptAlias /cgi-bin/ /srv/www/htdocs/confixx/html/cgi-bin/
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
CustomLog /var/log/apache2/confixx/hxxxxxxServerkompetenz.net_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
ErrorLog /var/log/apache2/confixx/hxxxxxx.serverkompetenz.net_error.log
<IfDefine SSL>
SSLEngine on
SSLCertificateKeyFile /etc/apache2/ssl.key/confixx.key
SSLCertificateFile /etc/apache2/ssl.crt/confixx.crt
SetEnvIf User-Agent ".*MSIE.*"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
<Files ~ ".(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/srv/www/htdocs/confixx/html/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</IfDefine>
</VirtualHost>
Include /etc/apache2/confixx_vhost.conf
# ^-
## /CONFIXX
meine vhost sieht z.z so aus
#### CONFIXX APACHE VHOST FILE ####
### created Sat Jun 18 13:14:02 2005 ###
UseCanonicalName Off
php_admin_flag safe_mode On
php_admin_value safe_mode_exec_dir /srv/www/htdocs/empty/
LogFormat "%V:#:%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"" confixx
LogFormat "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"" confixx2
CustomLog |/root/confixx/pipelog.pl confixx
<Directory "/srv/www/htdocs">
<Files ~ "^.ht">
deny from all
</Files>
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Options None
Options +FollowSymLinks +Includes
</Directory>
<Directory "/srv/www/htdocs/web1/html">
Options -FollowSymLinks -SymLinksIfOwnerMatch
<IfModule mod_access.c>
Allow from all
</IfModule>
</Directory>
<VirtualHost 85.xxx.xxx.xx:80>
ServerName hxxxxx.serverkompetenz.net
ServerAlias http://www.hxxxxx.serverkompetenz.net
DocumentRoot /srv/www/htdocs/web0/html
SuexecUserGroup web0 ftponly
ScriptAlias /cgi-bin/ /srv/www/htdocs/web0/html/cgi-bin/
php_admin_value open_basedir /srv/www/htdocs/web0/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /srv/www/htdocs/web0/phptmp/
</VirtualHost>
<VirtualHost 85.xxx.xxx.xx:80>
ServerName napoli.de
ServerAlias http://www.napoli.de web1.napoli.de
DocumentRoot /srv/www/htdocs/web1/html
SuexecUserGroup web1 ftponly
ScriptAlias /cgi-bin/ /srv/www/htdocs/web1/html/cgi-bin/
php_admin_value open_basedir /srv/www/htdocs/web1/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /srv/www/htdocs/web1/phptmp/
</VirtualHost>
und meine mhost so
## CONFIXX
<Directory "/srv/www/htdocs/confixx/html">
AllowOverride all
<IfModule mod_access.c>
Allow from all
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymlinks
RewriteRule ^reseller/res[0-9]+/(.*)$ reseller/$1 [L]
RewriteRule ^user/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+/(.*)$ user/$1 [L]
RewriteRule ^ftplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+/(.*)$ ftplogin/$1 [L]
RewriteRule ^ftplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+f[0-9]+/(.*)$ ftplogin/$1 [L]
RewriteRule ^poplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+p[0-9]+/(.*)$ poplogin/$1 [L]
</IfModule>
AddDefaultCharset off
</Directory>
NameVirtualHost 85.xxx.xxx.xxx:80
<VirtualHost 85.xxx.xxx.xxx:80>
Servername linux.local
DocumentRoot /srv/www/htdocs/confixx/html/gesperrt
</VirtualHost>
<VirtualHost 85.xxx.xxx.xxx:80>
ServerName napoli.de
#User confixx
#Group confixx
DocumentRoot /srv/www/htdocs/confixx/html
Options FollowSymLinks
php_admin_flag safe_mode Off
php_admin_flag file_uploads On
php_admin_flag track_vars On
php_admin_flag magic_quotes_runtime Off
php_admin_flag magic_quotes_gpc Off
php_admin_value upload_tmp_dir /srv/www/htdocs/confixx/tmp
php_admin_value include_path ".:/srv/www/htdocs/confixx/html/include:/srv/www/htdocs/confixx/html"
php_admin_value default_charset none
php_admin_value open_basedir /srv/www/htdocs/confixx
php_admin_value session.cookie_path /
php_admin_value session.auto_start 0
php_admin_value session.gc_maxlifetime 1800
php_admin_value session.use_cookies 1
php_admin_value session.cookie_lifetime 0
php_admin_value session.cookie_domain none
php_admin_value session.cookie_secure Off
php_admin_value session.use_trans_sid 0
ScriptAlias /cgi-bin/ /srv/www/htdocs/confixx/html/cgi-bin/
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
CustomLog /var/log/apache2/confixx/hxxxxxx.serverkompetenz.net_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
ErrorLog /var/log/apache2/confixx/hxxxxxx.serverkompetenz.net_error.log
</VirtualHost>
NameVirtualHost 85.xxx.xxx.xxx:443
<VirtualHost 85.xxx.xxx.xxx:443>
ServerName hxxxxxx.serverkompetenz.net
#User confixx
#Group confixx
DocumentRoot /srv/www/htdocs/confixx/html
Options FollowSymLinks
php_admin_flag safe_mode Off
php_admin_flag file_uploads On
php_admin_flag track_vars On
php_admin_flag magic_quotes_runtime Off
php_admin_flag magic_quotes_gpc Off
php_admin_value upload_tmp_dir /srv/www/htdocs/confixx/tmp
php_admin_value include_path ".:/srv/www/htdocs/confixx/html/include:/srv/www/htdocs/confixx/html"
php_admin_value default_charset none
php_admin_value open_basedir /srv/www/htdocs/confixx
php_admin_value session.cookie_path /
php_admin_value session.auto_start 0
php_admin_value session.gc_maxlifetime 1800
php_admin_value session.use_cookies 1
php_admin_value session.cookie_lifetime 0
php_admin_value session.cookie_domain none
php_admin_value session.cookie_secure Off
php_admin_value session.use_trans_sid 0
ScriptAlias /cgi-bin/ /srv/www/htdocs/confixx/html/cgi-bin/
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
CustomLog /var/log/apache2/confixx/hxxxxxxServerkompetenz.net_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
ErrorLog /var/log/apache2/confixx/hxxxxxx.serverkompetenz.net_error.log
<IfDefine SSL>
SSLEngine on
SSLCertificateKeyFile /etc/apache2/ssl.key/confixx.key
SSLCertificateFile /etc/apache2/ssl.crt/confixx.crt
SetEnvIf User-Agent ".*MSIE.*"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
<Files ~ ".(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/srv/www/htdocs/confixx/html/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</IfDefine>
</VirtualHost>
Include /etc/apache2/confixx_vhost.conf
# ^-
## /CONFIXX