I'm using apache on RHEL Linux server In my /etc/httpd/conf.d/httpd.conf there are two directives:
WSGIScriptAlias /apps /var/www/apps
<Directory /var/www/apps >
Options MultiViews ExecCGI
MultiviewsMatch Handlers
SetHandler wsgi-script
Order allow, deny
allow from all
</Directory>
ScriptAlias /scripts /var/www/scripts
<Directory /var/www/scripts >
Options MultiViews ExecCGI
MultiviewsMatch Handlers
SetHandler wsgi-script
Order allow, deny
allow from all
</Directory>
What is the difference? I understand that WSGIScriptAlias is restricted for running Python scripts and ScriptAlias also allows running perl scripts.
Can I always use ScriptAlias instead of WSGIScriptAlias? Are there any performance advantages of using WSGIScriptAlias instead of ScriptAlias?