Hi
Software
apache2
roundcube webmail
When enter my ip like http://85.30.159.249 I come to webmail.mydomain.com instead of my www.linuxburken.com. Have tryed alot of ways to change it but need help cant sort it out.
Virutalhosts confs:
Anything out of the order here or? Tyed all differnt things but still when enter ip i get to webmail.
Software
apache2
roundcube webmail
When enter my ip like http://85.30.159.249 I come to webmail.mydomain.com instead of my www.linuxburken.com. Have tryed alot of ways to change it but need help cant sort it out.
Virutalhosts confs:
Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName www.linuxburken.com
ServerAlias linuxburken.com
ServerAlias *.linuxburken.com
DocumentRoot /var/www/html
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
#
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
AssignUserId anders anders
</VirtualHost>
Code:
<VirtualHost *:80>
ServerName webmail.linuxburken.com
DocumentRoot /usr/share/roundcube/
</VirtualHost>
# Access to tinymce files
<Directory "/usr/share/tinymce/www/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
<IfVersion >= 2.3>
Require all granted
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Allow from all
</IfVersion>
</Directory>
<Directory /var/lib/roundcube/>
Options +FollowSymLinks
# This is needed to parse /var/lib/roundcube/.htaccess. See its
# content before setting AllowOverride to None.
AllowOverride All
<IfVersion >= 2.3>
Require all granted
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Allow from all
</IfVersion>
</Directory>
# Protecting basic directories:
<Directory /var/lib/roundcube/config>
Options -FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/lib/roundcube/temp>
Options -FollowSymLinks
AllowOverride None
<IfVersion >= 2.3>
Require all denied
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>
</Directory>
<Directory /var/lib/roundcube/logs>
Options -FollowSymLinks
AllowOverride None
<IfVersion >= 2.3>
Require all denied
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>
</Directory>
No comments:
Post a Comment