I've got a per-directory .htaccess file. It lives in /path1.
I want to rewrite all requests for *.js to /path2/other.js.
I'm getting a 404 error. /path2/other.js is world-readable.
So far, in my testing, it seems like I can do it if I put the
RewriteRule in the virtualhost section, but not in
Nick Kew nick at webthing.com writes:
The build messages from configure and make will tell you
whether apr_dbd_mysql.so was built successfully,
and where it was installed.
It is built successfully and it is installed into /usr/local/apr/lib. I don't
think apache knows to look there however.
Nick Kew nick at webthing.com writes:
Once you've built apr-util as you want it, use the --with options
to httpd configure to select it. You need to point --with to
ap[r|u]-1-config.
So I did:
./configure --prefix=/opt/apache --enable-layout=Darwin
--enable-mods-shared=all
Jon Drukman jsd at cluttered.com writes:
libtool: link: warning: library `/usr/local/apr/lib/libaprutil-1.la' was
moved.
libtool: link: cannot find the library `/opt/apache/lib/libapr-1.la' or
unhandled argument `/opt/apache/lib/libapr-1.la'
Any ideas?
I finally got it to work. I
What is the trick to get apache to build and install apr_dbd_mysql when
compiling from source? I've manually cd'd into srclib/apr-util and manually
run
./configure --with-mysql; make; make install
but it's not actually putting the
DBD driver somewhere where apache can use it.
I manually copied
I want to password protect my entire site, except for one URL (which is needed
for a load balancer health check). I've done this:
Location /
AuthType Digest
AuthName password protected
AuthUserFile /srv/passwd.digest
Require valid-user
/Location
Location /ping
Satisfy any
Allow
Bram Mertens mertensb.mazda at gmail.com writes:
Isn't it easier to leave /ping open for all? Remove the entire need
for authentication? I assume it will be a directory with nothing but
a static page for your load balancer to check so nothing that needs to
be protected.
I'm fine with
I'm trying to password protect my entire site, but leave the URI /ping open for
the load balancer healthcheck. Here is my configuration:
SetEnvIf Request_URI ^/ping allow_access=1
Location /
Order Deny,Allow
Deny from all
Allow from env=allow_access
authuserfile
Joshua Slive wrote:
On 3/17/06, Jon Drukman [EMAIL PROTECTED] wrote:
I've got the following rule in my config:
rewriterule ^/e3/(.*) /misc/e3/$1 [L]
It doesn't work. If I change the /misc to /test, it does.
Do you happen to have a /misc/e3 directory off your filesystem root?
If so
Jon Drukman wrote:
is there a way to substitute the documentroot variable instead of
hardcoding it? we have the same rewrite file used by many many
virtualhosts, and being able to refer to just /misc/whatever and have it
automatically map to the correct docroot would be extremely valuable
I've got the following rule in my config:
rewriterule ^/e3/(.*) /misc/e3/$1 [L]
It doesn't work. If I change the /misc to /test, it does.
Here's what's in the rewrite log for the bad case: (edited for brevity)
(2) init rewrite engine with requested uri /e3/index.html
(3) applying pattern
11 matches
Mail list logo