Re: [viewvc-users] Viewvc 1.1.2 problems

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
Looks like mod_security's configuration is interfering with ViewVC.  Without
an understanding of what that configuration looks like (I don't run Fedora),
I can't speculate as to what exactly is happening.

D. Tóth Balázs wrote:
> Hi,
> I wish all of you a very Happy Christmas!
> But I'm disturbing you with my problems.
> I found the cause of the missing icons, but I don't know what the
> correct solution is.
> 1. My SVN can be used only through secure channel over SSL.
> 2. I have Apache httpd version 2.2.14-1.fc10.i386 running on my FC 10.
> 3. All the icon requests are refused with code 403 - forbidden.
> 4. ssl_error_log complains about 'Comment Evasion Attempt'.
> 5. It works OK, if I remove the 'modsecurity_crs_41_phpids_filters.conf'
> file from the '/etc/httpd/modsecurity.d/base_rules' directory.
> What can be done?
> Thanks for your help:
> Balazs D Toth
> PS. The workaround described above SOLVED my Syntax Colorating problem,
> too!!!
> 
> ----- Original Message ----- From: "C. Michael Pilato"
> <[email protected]>
> To: ""D. Tóth Balázs"" <[email protected]>
> Cc: <[email protected]>; "ViewVC Users" <[email protected]>
> Sent: Wednesday, December 16, 2009 3:55 PM
> Subject: Re: [viewvc-users] Viewvc 1.1.2 problems
> 
> 
>> [re-adding [email protected]]
>>
>> D. Tóth Balázs wrote:
>>> Thank you,
>>> For the quick answer.
>>> 1. Address This problem is solved. I have to get acquainted with the
>>> *.ezt files.
>>
>> Cool.
>>
>>> 2. Syntax colorating
>>> May be the same as for problem #1. I don't know something. What shall I
>>> read or how can I begin to find out what settings are missing.
>>
>> The settings are pretty easy.  There's a new enable_syntax_coloration
>> option
>> which defaults to '1' (enabled).  If you have a new enough version of
>> Pygments, it should all "just work".  ViewVC detects the Pygments
>> install,
>> and gracefully degrades to not highlighting when it can't find
>> Pygments or
>> when Pygments lacks a lexer/formatting module for the file type being
>> viewed.
>>
>> If you're comfortable enough with Python, you could temporarily add some
>> 'raise Exception("something helpful")' type statements to the
>> lib/viewvc.py:markup_stream_pygments() function to see which code path is
>> being executed.
>>
>>> 3. Missing icons
>>> Since I'm not a very talented user, I like prepackaged things. I might
>>> take the time to install ViewVC from the package downloaded from your
>>> site.
>>> But still there is a good chance that I misdo something and it won't
>>> work either.
>>
>> Well, I'm happy to keep working with you on it.  Though, I would
>> prefer it
>> if we could keep the users@ list Cc:ed so others can benefit from the
>> exchange.
>>
>> -- 
>> C. Michael Pilato <[email protected]>
>> CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
>>
> 


-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2434629

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAktCBcUACgkQokEGqRcG/W5agwCfcIOI8W4fBQbhwA92SQm+QWUA
hb4AoLo1+7oL5cPECnmdA7VFo85jObUp
=SFE5
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.