I m facing problems regarding http on Fedora 8 system .
When trying to browse any index / other pages in the default directory ; I have to manually put the :80 along with the IP every time . After refreshing the page , the port is vanished and if I refresh the page at the time , its showing "Bad Request" . I have to put the :80 again ;; like
http://xx.xx.xx.xx:80 or
http://xx.xx.xx.xx:80/test/
I had modified the httpd.conf file ,,, but problem in still there . I m attaching my httpd.conf file . Please help .
Listen 80
ServerAdmin root@localhost
ServerName xx.xx.xx.xx:80
#
# UseCanonicalName: Determines how Apache constructs self-referencing
# URLs and the SERVER_NAME and SERVER_PORT variables.
# When set "Off", Apache will use the Hostname and Port supplied
# by the client. When set "On", Apache will use the value of the
# ServerName directive.
UseCanonicalName Off
NameVirtualHost xx.xx.xx.xx:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
<VirtualHost xx.xx.xx.xx:80>
ServerName xx.xx.xx.xx
DocumentRoot /var/www/html
DirectoryIndex index.html index.shtml
</VirtualHost>
<VirtualHost xx.xx.xx.xx:80>
ServerName xx.xx.xx.xx
DocumentRoot /var/www/html
ErrorLog logs/test_error_log
CustomLog logs/test_access_log common
DirectoryIndex index.html index.shtml
<Directory "/var/www/html/test">
Options Indexes Includes
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
</VirtualHost>