Hi,
I'm not sure if this is at all possible, so correct me if I'm chasing a
ghost... I'm in the following situation:
We have a system which already has an authentication mechanism (using
cookies). We want to change this so that it uses mod_sspi, like this:
AuthName "website name goe
Hi,
it seems that if I have a RewriteRule like this:
RewriteRule ^/blah/(.*) /script.php?param=$1 [PT]
and then I go to /blah/%2520 (for example), Apache actually calls
/script.php?param=%20 and not, as you would expect, /script.php?param=%2520.
How do I stop this from happening?
Thanks,
I have some URLs that are ugly: http://www.example.com/modules/
content/index.php?id=14 which I would like to change to:
http://www.example.com/help.php. I tried creating a .htaccess file with:
RewriteEngine On
RewriteRule ^/modules/content/index.php\?id=14$ /help.php [L]
If you want to
Cristian Bichis wrote:
RewriteRule ^/usr/home/domain1/domains/domain1\.com/public_html/(.*)$
/usr/home/domain2/domains/domain2\.com/public_html/$1
RewriteRules apply to URLs, not local file names.
Perhaps you should instead set your domain1.com's httpd.conf's
DocumentRoot to /usr/home/domai
RewriteRule ^item-([0-9]+).html+ index.php?itemid=$1
should probably be:
RewriteRule ^/item-([0-9]+).html /index.php?itemid=$1
What was the purpose of the "+" you added after "html"?
**
This email and any files
I'm running Apache Webserver 2.0.54 on Windows Server 2003 SP1 serving
as intranet-Webserver. I'm having problems with ulr's containg special
characters like é, í, ...
Calling those url just give's back:
You don't have permission to access
Are you already using mod_rewrite? I noticed th
MEENA SELVAM wrote:
This link doesnt include search facility
http://mail-archives.apache.org/mod_mbox/httpd-users/
is there any other link where i can search thru the
httpd.apache.org archive
Yes, www.google.com. Use "site:mail-archives.apache.org" and perhaps
"inurl:httpd".
**
ed with
status 3221225477 -- Restarting.
Obviously, the first six lines are normal messages from server start-up,
while the seventh is the actual error. Googling for this error didn't
return anything useful.
Is this a known problem? Is there a workaround? Any ideas?
Many thanks in ad
will get word-wrapped by my
mailer (LogFormat and BrowserMatch), but it should be obvious that they
are one line.
The line that exhibits the problem is the very last one, at the very bottom.
Thanks again for any help,
Arne Heizmann
File follows: -
ve) and it still has the
same effect -- 403 Forbidden. :/
Thanks for any further help you can provide,
Arne Heizmann
**
This email and any files transmitted with it are confidential and
intended solely for the use of the individ
tive of whether the server
I'm trying to proxy through to is running or not.
I get a "Not Found" if I remove the RewriteRule, as one would expect.
Thanks again if you could help further... :/
Arne Heizmann
**
This
, but what I get instead is a 403 Forbidden when I try to access
/old/something. I get the same 403 even when I stop the Apache on
ukrbcsr01, so it must be ukrbcsr02 that generates the Forbidden message
without even attempting to proxy the request.
Thanks for any advice you can give.
Arne Hei
André Malo wrote:
I can tell you the reasons for using koi8-r, euc-jp etc instead of utf-8
for the httpd docs. The resulting documents are significant smaller.
ru:15169 => 20713
ru+gzip:5454 => 6160
ja:14063 => 16595
ja+gzip:4833 => 5237
Hardly "significantly small
Gary W. Smith wrote:
I have the following rule in place:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(10\.20\.30\.40)/.*$ [NC]
RewriteRule ^/restricted/.+ - [F]
So suppose I go in with an empty referrer. The first condition is false.
Therefore the ru
Harish Sundaram wrote:
i.e. instead of printing the IP address of the remote host, I only get "::".
"::" is a valid IP address in IPv6. I think it is localhost.
**
This email and any files transmitted with it are confidentia
Boyle Owen wrote:
I have a problem with the following RewriteRule causing an infinite
loop:
RewriteCond %{HTTP_HOST} (first|second|third|fourth) RewriteRule
^(.+)$ %1/$1 [L,R,NC]
You do understand what ^(.+)$ converts to? [...] it will match the
entire URI, no matter what it is.
But he h
Veysel Harun Sahin wrote:
I want to use russian charset
Why are people still creating new websites with these obsolete character
sets? Why not just use UTF-8? It's been around for long enough...
**
This email and any files t
Naresh Agarwal wrote:
Are cookies are associated with underlying connection or they are
independent of the physical connection.
Most servers do not support persistent connections anyway (supposedly
because they're resource-intensive... that's what LiveJournal.com
sysadmins told me). Clearly
theshz wrote:
Hi, how does mod_rewrite interact with directives? I'm trying
to do a url to url rewrite, but want the resulting url to go through the
directives, it seems that apache skipped the part,
and directly looks for the file:
RewriteRule /foo.html /bar/test
RewriteRule /foo.html /
[EMAIL PROTECTED] wrote:
Is there a way for Apache to detect the user and rewrite certain text that
appears in the webpage that is served to that user?
If you know what domains are address harvesters, then why don't you just
block their access entirely?
But of course, this is futile, because you
[EMAIL PROTECTED] wrote:
You stated "I always thought it would make a lot more sense to
transfer some or all images (and CSS and JS) within the same request
as the containing HTML page."
Yes, and I still think so. You have mentioned situations where it
wouldn't work; so use what we already have i
[EMAIL PROTECTED] wrote:
I've been thinking for almost 10 years now that HTTP is really dumb
because it has problems like this one. I always thought it would
make a lot more sense to transfer some or all images (and CSS and
JS) within the same request as the containing HTML page. Then your
problem
Uri Raz wrote:
Problem with that solution is that many surfers block the referrer
field using a proxy or a firewall, including some surfers who browse
my site and legitimately expect the graphics to come up.
As Joshua already mentioned, this is not a problem as this is a small
fraction of the user
23 matches
Mail list logo