Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #permite acceso de otro dominio en apache
- #esto es en httpd.conf
- <Directory />
- Options FollowSymLinks
- AllowOverride All
- Header set Access-Control-Allow-Origin http://www.aconcagua.com.py
- </Directory>
- #luego levantar un puerto en apache
- #esto es mejor de tenerlo en un archivo de configuracion aparte y luego linkiarlo a httpd.conf
- Listen 8081
- <VirtualHost *:8081>
- ServerName netipa.aconcagua.com.py:8081
- ServerAdmin "Netipa Services"
- WSGIDaemonProcess netipad processes=2 maximum-requests=500 threads=10
- WSGIProcessGroup netipad
- WSGIScriptAlias / /var/www/html/apps/apps/wsgi.py
- <Directory /var/www/html/apps/apps/>
- Order deny,allow
- Allow from all
- </Directory>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement