Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName site.ru
- ServerAlias www.site.ru
- DocumentRoot /home/admin/site_backend/
- RewriteCond %{REQUEST_URI} !/static/
- RewriteCond %{REQUEST_URL} !/media/
- RewriteRule (.*) http://localhost:5000/ [P]
- Alias /media/ /home/admin/site_backend/media/
- <Directory /home/admin/site_backend/media/>
- Require all granted
- Order deny,allow
- Allow from all
- </Directory>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment