On Oct 24, 2007, at 15:20, Mick Ken wrote:
> Thanks Rob,
> Anyways, I was able to make it work.Here's the change i had to do:
>
> Go to httpd.conf file and comment the following:
> #<Directory />
> # Options FollowSymLinks
> # AllowOverride None
> # Order deny,allow
> # Deny from all
> #</Directory>
You should not comment out that section. By doing so, you have opened
up potential security issues for your server. Apache is designed to
deny access to every directory on your hard disk by default (that's
what that section ensured, before you commented it out), and then you
are supposed to add directives to specifically allow access to the
specific directories you want Apache to serve files from. For example:
<Directory /path/to/your/viewvc/html/files>
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI
MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options
All"
# doesn't give it to you.
#
# The Options directive is both complicated and important.
Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options FollowSymLinks
#
# AllowOverride controls what directives may be placed
in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
This is, however, an Apache situation, and not a Subversion or ViewVC
issue, so if you have questions, you should consult the Apache
documentation or an Apache mailing list or forum.
> I also added a ScriptAlias like this:
> ScriptAlias /svn "E:/Program Files/viewvc-1.0.4/bin/cgi/viewvc.cgi"
>
> Thats all i added in httpd.conf and it's working fine.
>
> Thanks
> Mick
>
>
> On 10/24/07, Rob van Oostrum wrote:
>
>> you may have better luck with the ViewVC users mailing list:
>>
>> users@viewvc.tigris.org
>>
>> R.
>>
>> On 10/24/07, Mick Ken wrote:
>>
>>> Hi Friends,
>>> I am trying to use ViewVC for my SVN repository and I have installed
>>> all the necessary components and I am able to view the repository
>>> using the standalone python server i.e:
>>>
>>> #>C:/Python25/python.exe standalone.py -g
>>>
>>> But I need to configure Apache to view it over the network and I
>>> configured Apache as decribed in this document and couple of other
>>> docs:
>>>
>>> http://www.subversionary.org/howto/viewcvs-and-apache-on-windows-
>>> setup-quick-reference
>>>
>>> But when I try to view the repository I get this error message:
>>> ********************************************************************
>>> ************8
>>> Object not found!
>>>
>>> The requested URL was not found on this server. If you entered
>>> the URL
>>> manually please check your spelling and try again.
>>>
>>> If you think this is a server error, please contact the webmaster.
>>> Error 404
>>> localhost
>>> 10/24/07 13:00:14
>>> Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8c
>>> mod_autoindex_color mod_python/3.3.1 Python/2.5 PHP/5.1.6
>>> ********************************************************************
>>> ************8
>>>
>>> I think this is a permissions issue in the httpd.conf file and can
>>> someone please tell me what needs to be done ??
>>>
>>> All the softwares seems to be compatible as there's no errors in the
>>> apache logs.
>>>
>>> Can someone help please...would really appreciate that.
>>>
>>> I have the following software versions installed:
>>> Apache2.2
>>> Python2.5
>>> svn-python-1.4.5.win32-py2.5.exe
>>>
>>> gnu diff utils and some other required packages...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 25 00:42:49 2007