On 2/3/07, Bob <[EMAIL PROTECTED]> wrote:
Feris Thia wrote:
> I have added the [L] but it seems not stopping.
It does. But there is an internal redirect in directory context.
Put
RewriteEngine on
RewriteRule ^/([0-9a-zA-Z]+)\.html$ /$1.php [PT]
RewriteRule \.php$ - [F]
into your httpd.conf/
Sorry, you're missing the point I think.
I don't want to create any variables if I don't have to ... I just want access
to the query-string.
I think at this point it is impossible ... I'm just going to submit a bug
report / feature request.
Thanks,
Ty
- Original Message
From: Krist
On 2/2/07, Beraru Liviu <[EMAIL PROTECTED]> wrote:
"configure DNS to map the desired hostname to the IP address for your
server"
Thanks, but how do I do this?
As I said immediately following this line:
This is out of scope for this list in general, especially
since it is impossible to tell exa
There is a RewriteCond with which you can build any kind of
rewriting/redirection rules.
On 2/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
Is there a rewrite option for stopping the redirects, like ReverseProxyPass?
I looked in the manual but could not find.
thanks
H.Todorov
> Quot
Hi,
Is there a rewrite option for stopping the redirects, like ReverseProxyPass?
I looked in the manual but could not find.
thanks
H.Todorov
Quoting Bob <[EMAIL PROTECTED]>:
[EMAIL PROTECTED] wrote:
[...]
RewriteEngine on
RewriteRule ^(.*) http://$1 [P,L]
RewriteRules inside locatio
On 2/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On 2/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I would like to have a path like /go/ after which the address to be proxied.
>> This is the config:
>>
>>
>>
>>SSLCipherSuite MEDIUM
>>SSLRequireSSL
>>
>> Auth
Quoting Bob <[EMAIL PROTECTED]>:
[EMAIL PROTECTED] wrote:
[...]
RewriteEngine on
RewriteRule ^(.*) http://$1 [P,L]
RewriteRules inside location sections are syntactically permitted, but
unsupported (see manual).
--
Bob
OHhh...,
thanks for pointing that out.
i will put it in server
On 2/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
I would like to have a path like /go/ after which the address to be proxied.
This is the config:
SSLCipherSuite MEDIUM
SSLRequireSSL
AuthType Digest
AuthName "Restricted Area"
AuthDigestDomain /go/
AuthDigestPr
[EMAIL PROTECTED] wrote:
[...]
RewriteEngine on
RewriteRule ^(.*) http://$1 [P,L]
RewriteRules inside location sections are syntactically permitted, but
unsupported (see manual).
--
Bob
-
The official User-To-User
Feris Thia wrote:
I have added the [L] but it seems not stopping.
It does. But there is an internal redirect in directory context.
Put
RewriteEngine on
RewriteRule ^/([0-9a-zA-Z]+)\.html$ /$1.php [PT]
RewriteRule \.php$ - [F]
into your httpd.conf/ per-server context (main server config secti
Your question about DNS is completely out of scope for this list!
Find out who maintains DNS for your domain and work with them.
If you don't know what that means, then start to ask and work with your
domain registrar and work your way to a responsible party or service
provider for DNS (namese
"configure DNS to map the desired hostname to the IP address for your
server"
Thanks, but how do I do this?
Joshua Slive <[EMAIL PROTECTED]> wrote:
On 2/1/07, Beraru Liviu
wrote:
> Hy!
> I am new in Apache and I used it until now only for testing PHP and MySQL.
> I have now to host som
On 2/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
I would like to have a path like /go/ after which the address to be proxied.
This is the config:
SSLCipherSuite MEDIUM
SSLRequireSSL
AuthType Digest
AuthName "Restricted Area"
AuthDigestDomain /go/
AuthDigestPr
Hi,
I would like to have a path like /go/ after which the address to be proxied.
This is the config:
SSLCipherSuite MEDIUM
SSLRequireSSL
AuthType Digest
AuthName "Restricted Area"
AuthDigestDomain /go/
AuthDigestProvider file
AuthUserFile /var/www/.digestpwd
Require vali
This is a FAQ: this question has been answered before.
Please search the mailing list archives and check the Apache FAQ to be
sure it applies to your version of Apache. You did not specify your
version of Apache, but the short answer is yes, Apache relies on the
operating system for date/time i
J E wrote:
>
> I am posting this question because I have not seen any
> indication, on the apache site, about this problem.
> Have others seen this problem? Why does apache 2.2.4
> install SymantecAntivirus software?
It does not. Please take this up with Symantec.
Unlike Symantec and many oth
At 12:30 PM 2/2/2007, J E wrote:
I downloaded apache_2.2.4-win32-x86-no_ssl.msi from
the //apache.cs.utah.edu/pub/apache.org mirror. I
used the md5 method to validate and validation
appeared to be successful. During apache install
there was an error when SymantecAntivirus was being
installed.
HI
We are running Apache on Redhat Linux ES 3.0 and will be updating Linux to
comply with the new daylight savings time changes for 2007 starting in March.
Does anyone know if there are any changes that need to happen for Apache or
does it just rely on the OS time? thanks.
Roberta Clark-Chabl
I downloaded apache_2.2.4-win32-x86-no_ssl.msi from
the //apache.cs.utah.edu/pub/apache.org mirror. I
used the md5 method to validate and validation
appeared to be successful. During apache install
there was an error when SymantecAntivirus was being
installed. I do not have the exact error messa
Hi there.
I've got a set of rewrite rules designed to allow for search-engine
freindly URLs. An example rule looks like this:
RewriteRule ^(register|course)/([A-Z]{2,2}[0-9]{4,4}) $1.php?id=$2
This rule has been working for the past year or so in rewriting URLs like
http://my.server.com/reg
Olaf Lautenschlaeger wrote:
> On Friday, February 02, 2007 11:59 AM [GMT+1=CET],
> Andreas Matthias <[EMAIL PROTECTED]> wrote:
>
>> But if I am trying to connect to https://localhost/drupal/ the
>> RewriteRule doesn't seem to be executed.
>
> You probably need to have 'RewriteEngine On' (and of
Hi Chirouze,
Yes... I've tried it on both windows & linux and still got the same things.
Is it possible the sequence processes are like these :
1. Try to get *.html
2. got "RewriteRule ^([0-9a-zA-Z]+)\.html$ $1.php [L]" rule and then try to
access *.php
3. Try to get *.php
4. got
RewriteCond
I know this can be done by creating a new virtual host container for
foo.domain.com instead of using a serveralias, but I'd rather not do
that if possible.
Why not? sections are designed for exactly this purpose.
Joshua.
Yes I suppose so. I've also realised I now need to configure logging
I'm not sure I get you, but it sounds like you just don't want to have
the *:443 virtual host existing at all!! I think as soon as the apache
processing starts on your virtual host, the SSL handshake has been done
(=> the warning appeared). So whatever you will put in the
scope will be handled _af
I guess nothing is supposed to work on some platform and not on others
(Windows, Unix...).
Did you try upgrading RewriteLogLevel to 3? You should get more
information on what's happening.
Another note: Kriss is right, if you want to redirect anything to your
php files, remember to never print th
On 2/2/07, Ben Roberts <[EMAIL PROTECTED]> wrote:
I know this can be done by creating a new virtual host container for
foo.domain.com instead of using a serveralias, but I'd rather not do
that if possible.
Why not? sections are designed for exactly this purpose.
Joshua.
---
On 2/2/07, Yu, Ming <[EMAIL PROTECTED]> wrote:
Is there a way or a module for Apache to get the X-Forwarded-For header?
If you just want to see it in the logs, you can access it directly as
a request header. If you want it to be used in place of the real IP
address for access control/etc, you
I have setup a virtual SSL host that is working great! I would like
to configure the default SSL to redirect the browser back to the
default non SSL site. I don't have a cert that is signed by a real
CA, so I would prefer if SSL was not actually used so that the warning
message does not come up.
Sorry...
I think I understand both of you guys... the [L] is to stop any further rule
processing. Is it work with Apache on Windows ?
I have added the [L] but it seems not stopping.
Regards,
Feris
On 2/2/07, Feris Thia <[EMAIL PROTECTED]> wrote:
On 2/2/07, Krist van Besien <[EMAIL PROTECTE
Does anybody know if it's possible to apply htpasswd authentication to a
particular directory ONLY if a specific ServerAlias is requested.
e.g. I have a single virtual host container, with 2 server aliases:
ServerName www.domain.com
ServerAlias foo.domain.com
On 2/2/07, Krist van Besien <[EMAIL PROTECTED]> wrote:
RewriteRule processing doesn't stop when a rule matches, unless you
tell it to. So you first rewrite *.html to *.php and then tell your
server to forbid access to *.php, and you get exactly that.
First a question: Why do you want to do this
Hi Olivier,
This still doesn't work as what I want it too. It makes every access to html
and php forbidden.
Regards,
Feris
On 2/2/07, Chirouze Olivier <[EMAIL PROTECTED]> wrote:
Hi,
I guess you should add [L] ("last") to your first rule, and make sure
the second one is AFTER. Thus, the firs
Gents,
I have successfully installed Apache 2.2.3 in front of a couple of
Tomcat server using the mod_jk (1.2.20). I have configured the system to
perform round-robin load balancing based on sticky session principle.
The problem I have is that the Apache is trying to cross the same
session be
On 2/2/07, Feris Thia <[EMAIL PROTECTED]> wrote:
Hi Everyone,
I configured my .htaccess to map/redirect all my *.html page to *.php pages
like below
RewriteEngine on
RewriteRule ^([0-9a-zA-Z]+)\.html$ $1.php
It works. But now,
Hi,
I guess you should add [L] ("last") to your first rule, and make sure
the second one is AFTER. Thus, the first rule will work for *.html, and
exit. When calling *.php, it will go to the second one...
RewriteEngine on
RewriteRule ^([0-9a-zA-Z]+)\.html$ $1.php [L]
RewriteCond %{REQUEST_URI}
On 2/2/07, Andreas Matthias <[EMAIL PROTECTED]> wrote:
My RewriteRule is working for http connections but not for https
connections.
In my .htaccess I have the following RewriteRule:
RewriteEngine on
RewriteBase /drupal/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAM
Hi Everyone,
I configured my .htaccess to map/redirect all my *.html page to *.php pages
like below
RewriteEngine on
RewriteRule ^([0-9a-zA-Z]+)\.html$ $1.php
It works. But now, I want the client cannot access the php script dire
>Sounds like a good start, though. Also try
>
>EnableMMAP Off
>EnableSendfile Off
>
>for good measure, to kill almost all the accelerated features.
I tried to use EnableMMAP Off and EnableSendfile Off, but it did not helped me.
Server again terminates.
--
Is there a way or a module for Apache to get the X-Forwarded-For header?
- Ming
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua
Slive
Sent: Friday, February 02, 2007 8:46 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] X-Forwarded-For
On 2/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi all,
Does apache automatically log the client IP address if the client goes
through a proxy that sends an X-Forwarded-For header?
No. Doing so would allow trivial spoofing since the X-Forwarded-For
header is completely under the contr
On Friday, February 02, 2007 11:59 AM [GMT+1=CET],
Andreas Matthias <[EMAIL PROTECTED]> wrote:
> But if I am trying to connect to https://localhost/drupal/ the
> RewriteRule doesn't seem to be executed.
You probably need to have 'RewriteEngine On' (and of
course all the rule set too) for the http
Hi all,
Does apache automatically log the client IP address if the client goes
through a proxy that sends an X-Forwarded-For header?
If i set up a proxy for people, and do NOT want it to be anonymous, will
my proxy ip show up in other servers http-access logs?
If so, is there any indication of w
My RewriteRule is working for http connections but not for https
connections.
In my .htaccess I have the following RewriteRule:
RewriteEngine on
RewriteBase /drupal/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
This
Hi,
I am writing an apache module. In the module code, on runtime, I want to
know the directory of my module (to read a configuration file).
for example:
LoadModule mod_mymodule c:\my_module_path\my_module.so
I want to be able to get the path: "c:\my_module_path\"
is there a way to do it?
Hi.
Using Apache 2.0.51, I've got a VirtualHost 'mydomain.com' mounted on:
'/var/www/mydomain/'
Within this directory, I've got another directory ('test'), and within it
one symbolic link:
/var/www/mydomain/test/images -> /var/www/mydomain/dir/common_images/
--
If I make 'images' owner be '
Fixed.
I changed /var/www/mydomain/dir/common_images/ owner to 'apache.apache' and
it works now.
Thank you very much, anyway :)
On 2/2/07, thomas Armstrong <[EMAIL PROTECTED]> wrote:
Hi.
Using Apache 2.0.51, I've got a VirtualHost 'mydomain.com' mounted on:
'/var/www/mydomain/'
Within this
46 matches
Mail list logo