Advertisement
CristianCantoro

vhost_config

Dec 27th, 2013
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. NameVirtualHost 127.0.0.14:80
  2.  
  3. WSGISocketPrefix /var/run/apache2/wsgi/
  4.  
  5. <VirtualHost 127.0.0.14:80>
  6.  
  7. RewriteEngine On
  8. RewriteCond %{HTTP_HOST} ^(www.)?wtosmtest.it$
  9. RewriteRule ^/app$ /app/ [R,L]
  10.  
  11. <Directory "/home/cristian/FBK/wtosm/dev/wikipedia-tags-in-osm/html">
  12. Options -Indexes FollowSymLinks MultiViews
  13. AllowOverride All
  14. Order allow,deny
  15. allow from all
  16. </Directory>
  17.  
  18. WSGIDaemonProcess wtosm user=cristian group=cristian processes=1 threads=5 umask=0000
  19. WSGIScriptAlias /app /home/cristian/Documenti/Lavoro/FBK/wtosm/dev/wikipedia-tags-in-osm/wtosm/wtosm.wsgi
  20.  
  21. <Directory /home/cristian/Documenti/Lavoro/FBK/wtosm/dev/wikipedia-tags-in-osm/app>
  22. WSGIProcessGroup wtosm
  23. WSGIApplicationGroup %{GLOBAL}
  24. WSGIScriptReloading On
  25. Order deny,allow
  26. Allow from all
  27. </Directory>
  28.  
  29. DocumentRoot "/home/cristian/FBK/wtosm/dev/wikipedia-tags-in-osm/html/"
  30. ServerName www.wtosmtest.it
  31. ServerAlias wtosmtest.it
  32. Options +FollowSymLinks +Indexes
  33. AssignUserId cristian cristian
  34. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement