2012-12-13 3 views
0

xampp 1.8.1로 업그레이드했습니다. 아파치와 MySQL 서버가 잘 시작된다.xampp 1.8.1. 서버가 시작되었지만 별명이 작동하지 않습니다.

그러나 httpd.conf에서 별칭을 사용할 수 없습니다. 나는 많은 옵션을 시도

Alias /tnl "H:northern_light" 
<Directory "H:northern_light"> 
    DirectoryIndex index.php  
    Options All 
    AllowOverride All 
    Require all granted 
</Directory> 

: IE 페이지

내가 가진

를 표시 할 수 없습니다. 또한 Apache에서 포트를 변경하려고했습니다.

는 127.0.0.1/tnl을 시도, 로컬 호스트/TNL 등

어떤 아이디어가?

답변

-1

Acordin ApacheFriends에 - XAMPP

# Alias: Maps web paths into filesystem paths and is used to 
# access content that does not live under the DocumentRoot. 
# Example: 
# Alias /webpath /full/filesystem/path 
# 
# If you include a trailing/on /webpath then the server will 
# require it to be present in the URL. You will also likely 
# need to provide a <Directory> section to allow access to 
# the filesystem path. 

의 크리에이터 의미 :

+0

그냥 복사 및 일부 문서 조각을 붙여 넣기 없음, 제발 설명, 그가 자신의 특정 시나리오에서해야합니까? – DaGardner

1

에 디렉토리 옵션을 대체합니다

Alias /tnl "H:/northern_light" 
    <Directory "H:/northern_light"> 
     AllowOverride None 
     Options None 
     Require all granted 
    </Directory> 

나는 개인적으로 사용 : "인덱스 MultiViews를"대신 "없음을 "옵션을 사용하여 디렉토리 색인을 허용합니다. 이처럼 :

Alias /tnl "H:/northern_light" 
    <Directory "H:/northern_light"> 
     AllowOverride None 
     Options Indexes MultiViews 
     Require all granted 
    </Directory> 
관련 문제