apache on windows virtual directory config help

前端 未结 7 451
萌比男神i
萌比男神i 2021-02-04 02:25

I\'m running Apache on Windows XP via Xampplite, and could use help configuring my virtual directory. Here\'s what I\'m hoping to do on my dev box:

  1. I want my sourc
7条回答
  •  野性不改
    2021-02-04 02:54

    In httpd.conf add the following lines, mutatis mutandis:

    
        Alias /angular-phonecat "C:/DEV/git-workspace/angular-phonecat"
    
    
    
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride all
        Order allow,deny
        Allow from all
        Require all granted
    
    

    This worked great on my (Windows) XAMPP installation after restarting the Apache server. I had to add the "Require all granted", but otherwise it is pretty much the same as the above answers.

提交回复
热议问题