저는 XAMPP를 실행하고 있지만 여러분의 컴퓨터에서 비슷한 것을 실행하고 있다고 가정하고 있습니다. 어쨌든 apache\conf
폴더로 이동하여 httpd.conf
파일을 엽니 다. XAMPP에는 가상 호스트를 추가하는 데 더 좋은 apache\conf\extra\httpd-vhosts.conf
이라는 파일이 있습니다.
그래서 당신은 당신이 윈도우 XP에 있다면, 당신은 127.0.0.1 app.localhost
당신의 C:\Windows\system32\drivers\etc\hosts
파일에 항목을 만들기 위해 할 것입니다, 또한 ...과 같이 적절한 지시를 입력
<VirtualHost *:80>
ServerAdmin [email protected]host
DocumentRoot "C:/path-to-your-app-webroot-folder-no-trailing-slash"
ServerName app.localhost
##ServerAlias www.dummy-host.localhost
ErrorLog "logs/app.localhost-error.log"
CustomLog "logs/app.localhost-access.log" combined
<Directory "C:/path-to-your-app-webroot-folder-no-trailing-slash">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
을 싶어 하위 도메인을 해결합니다. 그 일을 끝내야합니다.
CakePHP 플러그인 테스트에 훌륭한 아이디어입니다! – Dunhamzzz