Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. <VirtualHost *:80>
  2. DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/trongate_framework"
  3. ServerName trongate
  4. </VirtualHost>
  5.  
  6. ----------------------
  7. site root folder says:
  8.  
  9. <IfModule mod_rewrite.c>
  10. RewriteEngine on
  11. RewriteRule ^$ public/ [L]
  12. RewriteRule (.*) public/$1 [L]
  13. </IfModule>
  14.  
  15.  
  16.  
  17. ------------------------
  18. public
  19.  
  20.  
  21. <IfModule mod_rewrite.c>
  22. Options -Multiviews
  23. RewriteEngine On
  24. RewriteCond %{REQUEST_FILENAME} !-d
  25. RewriteCond %{REQUEST_FILENAME} !-f
  26. RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
  27. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement