Guest User

Untitled

a guest
Aug 21st, 2025
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. <VirtualHost *:80>
  2. DocumentRoot /var/csdemo/dist/
  3. ServerName csreplay.oesch.me
  4. ServerAlias www.csreplay.oesch.me
  5. <Directory /var/csdemo/dist/>
  6. Options Indexes FollowSymLinks Includes ExecCGI
  7. AllowOverride All
  8. Order allow,deny
  9. Allow from all
  10. Require all granted
  11. </Directory>
  12. ErrorLog ${APACHE_LOG_DIR}/csreplay-error.log
  13. CustomLog ${APACHE_LOG_DIR}/csreplay-access.log combined
  14.  
  15. RewriteEngine on
  16. RewriteCond %{SERVER_NAME} =csreplay.oesch.me [OR]
  17. RewriteCond %{SERVER_NAME} =www.csreplay.oesch.me
  18. RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  19. </VirtualHost>
  20.  
Advertisement
Add Comment
Please, Sign In to add comment