http://domain/~user 로는 접속이 안되고 /~user/ 로만 접속이

vecna의 이미지

이곳 저곳을 뒤져보다 보니
httpd.conf 에 있는 ServerName을 설정을 해주면 된다는거 같은데....
어떻게 고쳐야 하는거죠??? -_-;;;

httpd.conf에 있는 모든 ServerName이라고 되어있는곳을 찾아보니

# Allow server status reports, with the URL of http://servername/server-status
# Change the ".your-domain.com" to match your domain to enable.
#
#<Location /server-status>
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .your-domain.com
#</Location>

#
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".your-domain.com" to match your domain to enable.
#
#<Location /server-info>
# SetHandler server-info
# Order deny,allow
# Deny from all
# Allow from .your-domain.com
#</Location>

두군데가 있더군요.... 둘다 바꿔 봤는데 ... 안되요... T_T

도움을 부탁드립니다.

xsaku의 이미지

Quote:

#
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
#
ServerName www.server.com
vecna의 이미지

감사 합니다....

그냥

ServerName 만 추가 해주면 될것을 가지고.... -_-;;

주석이 달려있는 부분만 고칠 생각을 했으니....