Author Topic: [not important] Small typo in standard vhosts template  (Read 2147 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
[not important] Small typo in standard vhosts template
« on: February 10, 2016, 11:58:39 AM »
In the Apache Domain Virtual Host tpl:

The line
Code: [Select]
ScriptAlias /cgi-bin/ "%homedir%/%username%/public_html/cgi-bin/
Should probably be
Code: [Select]
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 :]

Offline
*****
Re: [not important] Small typo in standard vhosts template
« Reply #1 on: February 14, 2016, 07:51:17 AM »
Hello.

It should be without quotes.
Quote
ScriptAlias /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

Offline
*
Re: [not important] Small typo in standard vhosts template
« Reply #2 on: February 15, 2016, 06:17:24 AM »
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.

Offline
*****
Re: [not important] Small typo in standard vhosts template
« Reply #3 on: February 16, 2016, 07:43:56 AM »
Hello.

Sure, thank you. The bug will be fixed.
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