This forum is no longer active. Please post your questions to our new community site
Redmine+SVN+Apache+SSL=Error 403
|
|
Hello, I am trying to create 2 repos for 2 projects, with read/write permissions, to be private and over https. So far I’ve done this for each project : 1. mkdir /var/svn/pro1 <Location /svn/pro1> If I go to https://my.server.com/svn/pro1 I am asked to accept the certificate and after that asked for username/password. But I cannot authenticate using the user/pass I put in passwd file or any other user, and I end up with “403 Authorization Required. This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn’t understand how to supply the credentials required.” I’m convinced the user/pass is good, so it must the second cause. I saw on other forums that perl module is used to authenticate, and it is not loaded on httpd.conf. How can I do that as a2enmod command doesn’t work. I tried from the terminal, browser and tortoisesvn. All give the same result. Can you please help ? |
|
|
Hi, If you include the following lines in the httpd.conf file you need to create the user and password to access to the repository through the web:
You can create the user and password using the following command:
I hope it helps. |
|
|
Hi beltran, Thank you for the answer. I created the user and I am able to authenticate but after that I get Thank you. |
|
|
Hi, I scrapped everything related to subversion, removed ssl and started again. I need to access the repo via http. The short version of what I’ve done is as follows : mkdir /var/svn/pro1 Added the location on apache2/conf/httpd.conf : <Location /svn/pro1> If I go to http://my.server.com/svn/pro1 I see the folders inside : conf, db, hooks and locks but no repo files. I added the path file:///var/svn/pro1 in Project Pro1 > Settings > Repository in Redmine interface and I can see the the files under Repository tab. Can you please advise what to do next to see the repo over http ? Thank you. |
|
|
Hi, After changing the path for SVNParentPath to /var/svn I can see the pro1 project, but when I want to access the repository I get : “This XML file does not appear to have any style information associated with it. The document tree is shown below. Looks like PHP5 module was responsable for all the mess. Thanks. |
|
|
I’m glad to hear this! |
|
|
I’ve got the same issues and deactivating PHP module worked for me too… @dreamland TNX for the suggestion, i was getting mad! :D |

