hello everyone ,
I am trying to create a new project via web ui (admin login) but when i use slash in my project name (eg :- mainProject/subProject) it says 404 not found , the gerrit log file says nothing , but as i can see it is possible to create project with slash in name (https://android-review.googlesource.com/#/admin/projects/) ,
my apache httpd file(gerrit.conf) is :-
<VirtualHost *:8082>
ServerName localhost
ProxyRequests Off
ProxyVia Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location /login/>
AuthType Basic
AuthName "Gerrit Code Review"
AuthBasicProvider file
AuthUserFile /etc/httpd/passwords
Require valid-user
</Location>
AllowEncodedSlashes on
ProxyPass / http://localhost:8081/
</VirtualHost>
ProxyVia Off
ProxyPreserveHost On
RewriteEngine on
#RewriteRule ^(.*) - [E=SM_USER:%{LA-U:REMOTE_USER}]
AllowEncodedSlashes NoDecode
RewriteRule ^/(.*) http://127.0.0.1:8081/$1 [NE,P]
On Aug 22, 2013 4:29 PM, "Shubham Chitranshi" <chitransh...@gmail.com> wrote:
>
> hey lumir thanks for the config help,
> but the problem is apache says that the AllowEncodedSlashes can only be on or off so i put it to off , and then i try the create project and a error message appears "404 not found", i have seen my apache error_log and gerrit logs for any clue bt both tend to show nothing . where possibly am i going wrong?
Did you try "On"?
Phil
thanks
Shubham Chitranshi
thanks
Shubham Chitranshi
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.