2012-08-07 2 views
0

XAMPP, Linuxmint에서 가상 호스트 설정을 도와 주실 수 있습니까?xampp linux의 vhosts 설정

Xampp이 올바르게 시작되고 xampp 오렌지색 스플래시 페이지가 표시됩니다. 괜찮습니다. 나는 '/옵션/lampp를을/etc/추가'디렉토리에 가상 호스트 파일을 열고 다음 코드 또한 "등/호스트"를 열어

<VirtualHost 127.0.0.2:80> 
    DocumentRoot "/opt/lampp/htdocs/test/public_html" 
    ServerName test.dev 
</VirtualHost> 

을 추가하고이 추가 :

127.0.0.2 test.dev 

XAMPP를 다시 시작하십시오 ...

하지만 결과, 내가 test.dev 또는 127.0.0.2에 갈 때 같은 오렌지색 splashpage가 있습니다 .. 그래서 그것은 127.0.0.1 ..

를 보여줍니다 16,

또한에 http : // localhost를/phpMyAdmin을/

말한다 :

Access forbidden! 

New XAMPP security concept: 

Access to the requested object is only available from the local network. 

This setting can be configured in the file "httpd-xampp.conf". 

If you think this is a server error, please contact the webmaster. 

Error 403 

localhost 
Apache/2.4.2 (Unix) OpenSSL/1.0.1c PHP/5.4.4 

어떤 도움을 주셔서 감사합니다!

미리 감사드립니다.

+0

당신이'아파치 - xampp.conf'을 확인 했 :

그냥 httpd.conf 파일에서 문자열을 주석 처리? '# # New XAMPP 보안 개념 #' –

+0

네, 나는 그것을 주석 처리하려고했습니다. 그 메시지는 방금 다시 말하면서 같은 결과를 얻었습니다. – Maksym

답변

0

해결.

# XAMPP 
#Include etc/extra/httpd-vhosts.conf