1 <VirtualHost *:80>  
 2    ServerName saas.com  
 3    DocumentRoot "D:\xampp\htdocs\saas\frontend\web"  
 4   
 5    <Directory "D:\xampp\htdocs\saas\frontend\web">  
 6        # use mod_rewrite for pretty URL support  
 7        RewriteEngine on  
 8        # If a directory or a file exists, use the request directly  
 9        RewriteCond %{REQUEST_FILENAME} !-f  
10        RewriteCond %{REQUEST_FILENAME} !-d  
11        # Otherwise forward the request to index.php  
12        RewriteRule . index.php  
13   
14        # use index.php as index file  
15        DirectoryIndex index.php  
16   
17        # ...other settings...  
18    </Directory>  
19 </VirtualHost>  

 

相关文章:

  • 2021-07-16
  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2021-12-01
  • 2021-05-20
  • 2022-12-23
猜你喜欢
  • 2021-08-15
  • 2021-12-28
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
相关资源
相似解决方案