Alias with an alternate port
Alias with an alternate port
Is there a way to setup an alias with an alternate port? I installed Vmware Server on my HDA and would like to get to it by using http://vmware.
Re: Alias with an alternate port
As usual after I post it hits me as to how to solve my issue.
Maybe someone has a better way but this is how I did it.
First I created a webapp name vmware and left everything standard.
Then I modified the vmware file in /etc/httpd/conf.d/1012-Vmware.conf so it contains the following.
Now I can type http://vmware and it functions properly.
Note:
You have to restart the httpd service for the changes to take affect.
service httpd restart
Maybe someone has a better way but this is how I did it.
First I created a webapp name vmware and left everything standard.
Then I modified the vmware file in /etc/httpd/conf.d/1012-Vmware.conf so it contains the following.
Code: Select all
<VirtualHost *:80>
ServerName Vmware
ServerAlias Vmware.ho0k3r.com
redirect permanent / https://vmware:8333
DocumentRoot /usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui
<Directory "/usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui">
Options Indexes FollowSymLinks +ExecCGI
AddHandler fcgid-script .fcg
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/hda/web-apps/Vmware/logs/error_log
CustomLog /var/hda/web-apps/Vmware/logs/access_log combined env=!dontlog
</VirtualHost>
Note:
You have to restart the httpd service for the changes to take affect.
service httpd restart
-
- Posts: 124
- Joined: Mon Jun 29, 2009 9:41 am
- Location: Hazel Park, MI
- Contact:
Re: Alias with an alternate port
did you go to the network tab in the dashboard and try making a network alias for it?
Testmaster Manager
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives
Re: Alias with an alternate port
I did but it doesn't allow for an alternate port.did you go to the network tab in the dashboard and try making a network alias for it?
Who is online
Users browsing this forum: No registered users and 21 guests