Centos 에 apache 소스설치(make build) 관련해서 도움 부탁드립니다.
웹서버에서 index.html 파일을 못읽어오는거 같습니다.
현재 Virtual PC에 CentOS 6.5버전 설치하고 Apache 2.3.15인가 최신버전을 쓰고있습니다.(php와 mysql 설치하기전입니다.)
소스설치 다하고 가상PC IP로 접속하니까
It works! 가 안나오고 아파치 로고만나옵니다...
방화벽도 현재 열어논상태구요
deamon으로 아파치 구동중입니다.
권한 문제도 아닌거같구요...
인터넷에 검색하다보니 conf.d 에 있는 파일이 덮어써서 못읽어올수도 있다는데
현재 제가 설치한서버에는 해당 파일이 없습니다..
httpd.conf 내용은 아래와 같습니다.. 일부분이긴합니다..
ServerRoot "/server/apache"
Listen 80
User daemon
Group daemon
ServerName 127.0.0.1:80
#
# Deny access to the entirety of your server's filesystem. You must
# explicitly permit access to web content directories in other
# blocks below.
#
AllowOverride none
Require all denied
DocumentRoot "/server/apache/htdocs"
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Require all granted
DirectoryIndex index.html
AllowOverride None Options None Require all granted
댓글 달기