I am using apache on backtrack.
Everything worked fine, but when i want to redirect port 80 to 8080,
I could not connect to my apache server anymore.
I tried myipaddress:8080/index.html --> The requested URL /index.html was not found on this server.
I also portforwarded port 8080.
Here are the steps I took :
/etc/apache2/ports.conf --> I changed the listen port to 8080 and also the Virtualhost to that port.
After that I changed also the VirtualHost statement in /etc/apache2/sites-enabled/000
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# SSL name based virtual hosts are not yet supported, therefore no
# NameVirtualHost statement here
to port 8080.
Options Indexes FollowSymLinks MultiViews
allow from all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Allow from all
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
Options Indexes MultiViews FollowSymLinks
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128