[EMAIL PROTECTED] expat lib not found apache httpd 2.2.6

2007-12-16 Thread Marko
Hi all, Recently I tried to upgrade from 2.2.0 to 2.2.6 but make produced /usr/bin/ld: cannot find -lexpat *** Error code 1 Stop in /usr/build/apache/httpd-2.2.6/srclib/apr-util. I'm on Freebsd 6.3 running ./configure --prefix=/usr/local/apache --enable-rewrite --enable-so Output: checking

Re: [EMAIL PROTECTED] expat lib not found apache httpd 2.2.6

2007-12-16 Thread Marko Leer
Just run ./configure --prefix=/usr/local/apache --enable-rewrite --enable-so --with-expat=builtin Sunday, December 16, 2007, 1:03:56 PM, you wrote: M Hi all, M Recently I tried to upgrade from 2.2.0 to 2.2.6 but make produced M /usr/bin/ld: cannot find -lexpat M *** Error code 1 M Stop in

[EMAIL PROTECTED] Question about Apache SSL and Rewrites

2007-12-16 Thread Bryan Richardson
Hello all, I've set up a Trac site on my server, and I'm trying to configure it such that when a user attempts to login, SSL is used. I *think* I've configured my rewrites correctly (see below), but after the login occurs the site is still using SSL. I only want to use SSL for the actual act of

Re: [EMAIL PROTECTED] Question about Apache SSL and Rewrites

2007-12-16 Thread Joshua Slive
On Dec 16, 2007 12:17 PM, Bryan Richardson [EMAIL PROTECTED] wrote: Hello all, I've set up a Trac site on my server, and I'm trying to configure it such that when a user attempts to login, SSL is used. I *think* I've configured my rewrites correctly (see below), but after the login occurs

Re: [EMAIL PROTECTED] Question about Apache SSL and Rewrites

2007-12-16 Thread Bryan Richardson
Joshua, Thanks for responding. I had planned on looking into AuthDigest anyway, so I'll go ahead and do that. If I end up using AuthDigest, would it then make sense to only use SSL when actually logging in? Also, just for sake of knowledge, how should I go about adding a Rewrite to my SSL host

[EMAIL PROTECTED] Help w/ Rewrite

2007-12-16 Thread Bryan Richardson
Hello all, I have a directory on my webserver (say http://localhost/foo/) who's subdirectories (say bar/ and cha/) I want to only be available via SSL ( https://localhost/foo/bar/ % https://localhost/foo/cha/). I have the following .htaccess in my foo/ directory, but it's not working. I assume

Re: [EMAIL PROTECTED] Help w/ Rewrite

2007-12-16 Thread Vincent Bray
On 16/12/2007, Bryan Richardson [EMAIL PROTECTED] wrote: [snip] root directory. I've tried both ^(.*)$ and /^(.*)$ for the rewrite rule. Any suggestions? Thanks! -- BTR The first of those should work but the second not (it's not really a valid regex as ^ mid-string doesn't have a special

Re: [EMAIL PROTECTED] Question about Apache SSL and Rewrites

2007-12-16 Thread Joshua Slive
On Dec 16, 2007 1:06 PM, Bryan Richardson [EMAIL PROTECTED] wrote: Joshua, Thanks for responding. I had planned on looking into AuthDigest anyway, so I'll go ahead and do that. If I end up using AuthDigest, would it then make sense to only use SSL when actually logging in? No, digest auth

Re: [EMAIL PROTECTED] Help w/ Rewrite

2007-12-16 Thread Bryan Richardson
Thanks. I took a look at the Wiki links you provided, and I think I'll try using Redirect instead. Any hints as to how I would use Redirect in this situation? Another question: is the RewriteEngine directive site-wide or per directory? Also, if I say RewriteEngine On in a directory that I also

Re: [EMAIL PROTECTED] access.log

2007-12-16 Thread Martin Barry
$quoted_author = Steve Reilly ; this is not a huge deal, but more frustrating than anything i have encountered with linux. i cannot seem to get this right, apache2 cannot write to access log files in /var/log/apache2/. the error log is still churning along fine. i have checked

Re: [EMAIL PROTECTED] access.log

2007-12-16 Thread steve
Martin Barry wrote: does it start working again after you restart apache? no, it does not. is there any pattern to when it stops? it logged for about an hour, then stopped... how are your logs being rotated? not 100% sure, ive never done it, (using deb etch stock install) before i

Re: [EMAIL PROTECTED] access.log

2007-12-16 Thread Martin Barry
$quoted_author = steve ; not 100% sure, ive never done it, (using deb etch stock install) before i accidentely deleted the logs, there was 28 of them, all but 2 were .gz and the other 2 were access.log and access.log.1 the only one apache ever wrote to was the .1 one. i made access.log

Re: [EMAIL PROTECTED] access.log

2007-12-16 Thread steve
Martin Barry wrote: can you show as the output of an 'ls -l' in your log directory? and the output of 'lsof | grep -i apache' before and after apache stops logging? sure its not wise to keep removing apache2 and keep re installing it right?? it's not really a workable solution, no.

Re: [EMAIL PROTECTED] access.log

2007-12-16 Thread steve
Martin Barry wrote: $quoted_author = steve ; not 100% sure, ive never done it, (using deb etch stock install) before i accidentely deleted the logs, there was 28 of them, all but 2 were .gz and the other 2 were access.log and access.log.1 the only one apache ever wrote to was the .1 one. i

Re: [EMAIL PROTECTED] access.log

2007-12-16 Thread Martin Barry
$quoted_author = steve ; http://pastebin.com/m229abd41 sorry, updated to show inside /var/log/apache2 the only thing of note is that the directory /var/log/apache2 has permissions 740 on your server. my debian install which i haven't touched has it as 755. cheers marty -- No GUI for you!

Re: [EMAIL PROTECTED] Question about Apache SSL and Rewrites

2007-12-16 Thread Bryan Richardson
Joshua, Thanks again for responding. I've decided to use AuthDigest because of the reasons you mentioned below. However, while messing around some with .htaccess files, I've come across the following situation that I can't seem to figure out how to fix. So I have the trac/ directory, which is

[EMAIL PROTECTED] Controlling client-side page cache

2007-12-16 Thread User 1001
Is there a way to rewrite/refresh a web page from the server to the client while flushing the client-side's cache so there only one page in the client-side page cache (ie; no page to go Back to)? This would allow modifying page content without allowing for a return to a previously transmitted

Re: [EMAIL PROTECTED] Question about Apache SSL and Rewrites

2007-12-16 Thread Joshua Slive
On Dec 16, 2007 10:06 PM, Bryan Richardson [EMAIL PROTECTED] wrote: This of course requires a login. Now, the situation I'm coming across is I'm getting two requests for login; one at http://localhost and the other at https://localhost. So, it looks to me like the authorization request is

[EMAIL PROTECTED] NameVirtualHost Directive

2007-12-16 Thread Bryan Richardson
Hello all, I'm curious as to why one would ever need to use the NameVirtualHost directive in site configuration files. I just can't seem to get my head around why it's *sometimes* required. I say sometimes only because I've seen instances where it isn't used at all. If all VirtualHost

Re: [EMAIL PROTECTED] Question about Apache SSL and Rewrites

2007-12-16 Thread Bryan Richardson
Once again, Joshua, thanks for your help. What are your feelings on Rewrites vs. Redirects? How would I use a Redirect (or RedirectMatch) in this situation? I tried doing a RedirectMatch with a similar regexp to what I used with RewriteMatch, but it wouldn't work. Thanks! -- BTR On Dec 16,

Re: [EMAIL PROTECTED] Question about installing apache 2.0.59 on solaris 10

2007-12-16 Thread pdt_p
Hi... yes i am able to compile without root permission. Iam running on port 1024 and seems like so far it's working fine. thank you very much for your help. regards, pdt Dragon-4 wrote: pdt_p wrote: Hi... Thank you for answering my question. The reason why i am not compile by my self

Re: [EMAIL PROTECTED] NameVirtualHost Directive

2007-12-16 Thread florian . schmidt
Hi Bryan, one example would be a machine with two IP adresses, each of them has its own www.domain example: NameVirtualHost IP1:80 VirtualHost IP1:80 /VirtualHost NameVirtualHost IP2:80 VirtualHost IP2:80 /VirtualHost but there are even more situations where NameVirtualHost

Re: [EMAIL PROTECTED] NameVirtualHost Directive

2007-12-16 Thread Bryan Richardson
Hi Florian, Thanks for the response. I guess my question is why have the NameVirtualHost directive since the *same* IP address is required to be specified as an attribute in the VirtualHost block? Thanks! -- BTR On Dec 16, 2007 10:09 PM, [EMAIL PROTECTED] wrote: Hi Bryan, one example would

Re: [EMAIL PROTECTED] NameVirtualHost Directive

2007-12-16 Thread Vasiliy Boulytchev
The meaning of NameVirtualHost is used for other reasons as well. Sent from my iPhone On Dec 17, 2007, at 0:17, Bryan Richardson [EMAIL PROTECTED] wrote: Hi Florian, Thanks for the response. I guess my question is why have the NameVirtualHost directive since the *same* IP address is

Re: [EMAIL PROTECTED] How to rid a pest?

2007-12-16 Thread Christian Folini
You are stopping them inside apache now. Next obvious step is a firewall. Either on the server on a dedicated box in front of it. regs, Christian On Sat, Dec 15, 2007 at 12:57:17PM -0800, Charles Michener wrote: I have a couple of spider bots hitting my server that I do not wish to have