peter_jenp
New Member
hallo allemaal.
ik heb een probleem met een apache webserver.
ik heb op men server de volgende websites.
- www.jenp.net
- jenp.net
- hn.jenp--
- suport.jenp.net
- phpmyadmin.jenp.net
nu worden hm.jenp.net en www.jenp.net goed weer gegeven.
jenp.net gaat naar www.jenp.net en geeft daarmee ook de goede site weer.
maar phpmyadmin.jenp.net en suport.jenp.net gaan om de een of andere reden ook naar www.jenp.net
ipv datze de suport pagina en de phpmyadmin pagina weer geven.
wie kan me zeggen wat ik fout doe.
men site configuratsies zal ik hieronder plaatsen.
the configuration of: hn.jenp.net is:
the configuration of: phpmyadmin.jenp.net is:
the ssl configuration of: suport.jenp.net is:
the configuration of: jenp.net and www.jenp.net is:
the ssl configuration of: jenp.net and www.jenp.net is:
the s configuration of: suport.jenp.net is:
I hope someone can tell me what I'm doing wrong and how I can get it to work greetings: peter
ik heb een probleem met een apache webserver.
ik heb op men server de volgende websites.
- www.jenp.net
- jenp.net
- hn.jenp--
- suport.jenp.net
- phpmyadmin.jenp.net
nu worden hm.jenp.net en www.jenp.net goed weer gegeven.
jenp.net gaat naar www.jenp.net en geeft daarmee ook de goede site weer.
maar phpmyadmin.jenp.net en suport.jenp.net gaan om de een of andere reden ook naar www.jenp.net
ipv datze de suport pagina en de phpmyadmin pagina weer geven.
wie kan me zeggen wat ik fout doe.
men site configuratsies zal ik hieronder plaatsen.
the configuration of: hn.jenp.net is:
Code:
<VirtualHost *:80>
<Directory /var/www/hn/>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ServerName hn.jenp.net
ServerAlias *.hn.jenp.net
ServerAdmin [email protected]
DocumentRoot /var/www/hn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
the configuration of: phpmyadmin.jenp.net is:
Code:
<VirtualHost *:80>
DocumentRoot "/usr/share/phpmyadmin"
ServerName phpmyadmin.jenp.net
<Directory "/usr/share/phpmyadmin">
allow from all
Options None
Require all granted
</Directory>
</VirtualHost>
the ssl configuration of: suport.jenp.net is:
Code:
<IfModule mod_ssl.c>
# <VirtualHost _default_:443>
<VirtualHost *:443>
ServerAdmin [email protected]
DocumentRoot /var/www/helpdesk
<Directory /var/www/helpdesk>
# Options FollowSymLinks MultiViews
# AllowOverride all
# Order allow,deny
# allow from all
</Directory>
ServerName suport.jenp.net
ServerAlias suport.jenp.net helpdesk.jenp.net *.suport.jenp.net *.helpdesk.jenp.net
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/wildcard/wildcard21.crt
SSLCertificateKeyFile /etc/ssl/wildcard/www.jenp.net.key
SSLCertificateChainFile /etc/ssl/wildcard/intermediar21.crt
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
UseCanonicalName off
</VirtualHost>
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
the configuration of: jenp.net and www.jenp.net is:
Code:
<VirtualHost *:80>
<Directory /var/www/html/>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ServerName jenp.net
ServerAlias www.jenp.net
ServerAlias *.jenp.net
ServerAdmin [email protected]
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
the ssl configuration of: jenp.net and www.jenp.net is:
Code:
<IfModule mod_ssl.c>
# <VirtualHost _default_:443>
<VirtualHost *:443>
ServerAdmin [email protected]
DocumentRoot /var/www/html
<Directory /var/www/html>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ServerName jenp.net
ServerAlias www.jenp.net
ServerAlias *.jenp.net
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/wildcard/wildcard21.crt
SSLCertificateKeyFile /etc/ssl/wildcard/www.jenp.net.key
SSLCertificateChainFile /etc/ssl/wildcard/intermediar21.crt
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
</VirtualHost>
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
the s configuration of: suport.jenp.net is:
Code:
<VirtualHost *:80>
<Directory /var/www/helpdesk/>
Options FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>
ServerName suport.jenp.net
ServerAlias suport.jenp.net helpdesk.jenp.net *.suport.jenp.net *.helpdesk.jenp.net
ServerAdmin [email protected]
DocumentRoot /var/www/helpdesk
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
UseCanonicalName off
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
I hope someone can tell me what I'm doing wrong and how I can get it to work greetings: peter