You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "Michael S. Howard" <mh...@lerc.nasa.gov> on 1997/07/08 14:40:01 UTC
config/838: page access
>Number: 838
>Category: config
>Synopsis: page access
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache (Apache HTTP Project)
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Tue Jul 8 05:40:01 1997
>Originator: mhoward@lerc.nasa.gov
>Organization:
apache
>Release: 1.2
>Environment:
SunOS gigahertz 5.5 Generic_103093-06 sun4m sparc SUNW,SPARCclassic
>Description:
I'm not sure if this is a bug or not but here's the problem.
If I try to access the page say for example:
http://gigahertz.lerc.nasa.gov/~mallman
from within lerc.nasa.gov, the server sends
the index.html file from mallman's ~/public_html directory.
It adds a / at the end after loading:
http://gigahertz.lerc.nasa.gov/~mallman/
If I try to access the page from outside of lerc.nasa.gov
using:
http://gigahertz.lerc.nasa.gov/~mallman
I get an access error but if I try to access it from outside of
lerc.nasa.gov using:
http://gigahertz.lerc.nasa.gov/~mallman/
I can access that page?
In my httpd.conf file I saw:
# For /~username/
UserDir public_html
I changed it to:
# For /~username
UserDir public_html
and restarted the server but it made not change.
Here is the the rest of httpd.conf:
---------------------------------------------------------------
# Can be standalone or inetd
ServerType standalone
# Port number to run the server on
Port 80
# User and group for server. VERY IMPORTANT
User nobody
Group nobody
# Server information
ServerAdmin root@gigahertz.lerc.nasa.gov
ServerName gigahertz
ServerRoot /usr/local/apache
# Logging
ScoreboardFile /usr/local/apache/logs/apache_runtime_status
ErrorLog /usr/local/apache/logs/error_log
TransferLog /usr/local/apache/logs/access_log
PidFile /usr/local/apache/logs/httpd.pid
# For /~username
UserDir public_html
# Config files
TypesConfig mime.types
AccessConfig /dev/null
ResourceConfig /dev/null
DocumentRoot /export/home/www
DirectoryIndex Welcome.html index.phtml index.html index.htm index.cgi
FancyIndexing on
Alias /icons/ /usr/local/apache/icons/
AddIcon /icons/movie.xbm .mpg .qt
AddIcon /icons/binary.xbm .bin
AddIcon /icons/back.xbm ..
AddIcon /icons/menu.xbm ^^DIRECTORY^^
AddIcon /icons/blank.xbm ^^BLANKICON^^
DefaultIcon /icons/unknown.xbm
ReadmeName README
HeaderName HEADER
IndexIgnore */.??* *~ *# */HEADER* */README*
AccessFileName .htaccess
DefaultType text/plain
AddEncoding x-compress Z
AddEncoding x-gzip gz
ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
AddType text/x-server-parsed-html .shtml
AddType application/x-httpd-serverpush .sp
AddType application/x-httpd-cgi .cgi
AddType application/x-httpd-phtml .phtml
AddType application/x-httpd-imap .map
<Directory /usr/local/apache/cgi-bin>
Options Indexes FollowSymLinks
</Directory>
<Directory /usr/local/apache/htdocs>
Options Indexes FollowSymLinks Multiviews IncludesNOEXEC
AllowOverride Limit AuthConfig
<Limit GET>
order deny,allow
deny from none
allow from all
</Limit>
</Directory>
---------------------------------------------------------------
>How-To-Repeat:
Yes see the URL's mentioned in the Full description
>Fix:
NO
Thank You
Michael S. Howard
mhoward@lerc.nasa.go
>Audit-Trail:
>Unformatted: