[not important] Small typo in standard vhosts template

Started by ripieces, February 10, 2016, 11:58:39 AM

Previous topic - Next topic

ripieces

In the Apache Domain Virtual Host tpl:

The line
ScriptAlias /cgi-bin/ "%homedir%/%username%/public_html/cgi-bin/

Should probably be
ScriptAlias /cgi-bin/ "%homedir%/%username%/public_html/cgi-bin/"

But this doesn't seem to affect anything, just s.th. that could be updated for consistency :]

Igor S.

Hello.

It should be without quotes.
QuoteScriptAlias /cgi-bin/ %homedir%/%username%/public_html/cgi-bin/



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

ripieces

Thank you very much for your reply.

According to this:
https://httpd.apache.org/docs/2.4/mod/directive-dict.html

Both, totally without quotes and with two double quotes are correct as long as it doesn't contains any spaces.
If it contains spaces then then it should be quoted using double quotes.

The original version using only one double quote at the beginning is not mentioned there, so maybe it could be fixed if the developers have time.

Igor S.




You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services