https://bz.apache.org/bugzilla/show_bug.cgi?id=59086
Bug ID: 59086
Summary: Brackets in DocumentRoot and Directory not supported
Product: Apache httpd-2
Version: 2.4.17
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Build
Assignee: [email protected]
Reporter: [email protected]
Hello,
I'm setting a new virtual host in my local apache server. The name of the
folder where I'm pointing is "[ Client ] Project"
But when I try to access I have a "Forbidden You don't have permission to
access / on this server."
This is part of the httpd configuration, where I set those variables:
<VirtualHost localhost>
<Directory "/Users/me/web/[ Client ] Project">
Options FollowSymLinks Indexes
AllowOverride All
Order deny,allow
allow from All
</Directory>
ServerName localhost
ServerAlias localhost tito 127.0.0.1
ScriptAlias /cgi-bin/ "/Applications/AMPPS/www/cgi-bin/"
DocumentRoot "/Users/me/web/[ Client ] Project"
ErrorLog "/Applications/AMPPS/apache/logs/error_log"
CustomLog "/Applications/AMPPS/apache/logs/access.log" combined
</VirtualHost>
I have tried so many combinations of naming the folder and my conclusion is
that if there is "open square brackets+something in the middle+close square
brackets"I always have the forbidden message.
Here is all the combination of folder naming that I have tried and the results
if it can help (logically, after each folder name change I have changed
httpd.conf + restarted the server):
"[ Client ] Project" => KO
"] Client [ Project" => OK
"[ Client Project" => OK
" Client ] Project" => OK
"[ Client [ Project" => OK
"[C] Project" => KO
"[ ] Project" => KO
"[] Project" => OK
(The last two examples are the most strange one. If brackets are facing without
nothing in the middle, no problem. But if something is put in the middle then
KO )
Hopping that may help: What I'm thinking now is that there is maybe a conflict
with IPv6, that uses brackets, but that is strange because, where I'm using
brackets, it's not a place to use IPv6
Thanks
PD: My OsX version wasn't in the list: 10.11
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]