Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: ripieces on February 10, 2016, 11:58:39 AM

Title: [not important] Small typo in standard vhosts template
Post by: ripieces 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 :]
Title: Re: [not important] Small typo in standard vhosts template
Post by: Igor S. on February 14, 2016, 07:51:17 AM
Hello.

It should be without quotes.
Quote
ScriptAlias /cgi-bin/ %homedir%/%username%/public_html/cgi-bin/
Title: Re: [not important] Small typo in standard vhosts template
Post by: ripieces 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.
Title: Re: [not important] Small typo in standard vhosts template
Post by: Igor S. on February 16, 2016, 07:43:56 AM
Hello.

Sure, thank you. The bug will be fixed.