Note: this is not a firewall issue
I am running a kolab server and trying to increase security by having the web-admin listen on a certain port.. I picked 8443. Here's my conf file:
Alias /kolab-webadmin /usr/share/kolab-webadmin/public_html/
<Directory "/usr/share/kolab-webadmin/public_html/">
<IfModule mod_rewrite.c>
RewriteEngine on
# NOTE: This needs to point to the base uri of your installation.
RewriteBase /kolab-webadmin/
# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^api/(.*)\.(.*)$ api/index.php?service=$1&method=$2 [L,QSA]
</IfModule>
AddDefaultCharset UTF-8
php_value error_reporting 6135
DirectoryIndex index.php
AllowOverride All
<ifModule mod_authz_core.c>
Require all granted
</ifModule>
<ifModule !mod_authz_core.c>
Order Allow,Deny
Allow from All
</ifModule>
</Directory>
I am not sure exactly how to make this work... I am also on centos 6.6
EDIT:
I only want this specific address (or folder I should say) to open ONLY on port 8443...
so domain.com/webmail will work on port 80
but domain.com/kolab-webadmin works only on 8443