Passwort prüfen und mit htpasswd dann ände rn?

2007-02-02 Thread dA
Hallo zusammen, ich möchte gern auf meine Webserver ein CGI (sh-) skript laufen lassen mit dem es den Besuchern möglich ist ein vorgegebenes Passwort (für die jeweilige) Seite selbst zu ändern: 1) Seite xy benötigt einen User aus der Gruppe Gäste... 2) User gibt vorgegebenes Passwort ein, Seite

[EMAIL PROTECTED] Re: Mess with symbolic links, directory owners and 403 Forbidden error

2007-02-02 Thread thomas Armstrong
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

[EMAIL PROTECTED] Mess with symbolic links, directory owners and 403 Forbidden error

2007-02-02 Thread thomas Armstrong
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

[EMAIL PROTECTED] get module full path from module code

2007-02-02 Thread Asaf Dalet
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?

[EMAIL PROTECTED] RewriteRule not executed with https

2007-02-02 Thread Andreas Matthias
My RewriteRule is working for http connections but not for https connections. In my .htaccess I have the following RewriteRule: IfModule mod_rewrite.c RewriteEngine on RewriteBase /drupal/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$

[EMAIL PROTECTED] X-Forwarded-For and default apache logging

2007-02-02 Thread nick
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

Re: [EMAIL PROTECTED] RewriteRule not executed with https

2007-02-02 Thread Olaf Lautenschlaeger
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 https

Re: [EMAIL PROTECTED] X-Forwarded-For and default apache logging

2007-02-02 Thread Joshua Slive
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

RE: [EMAIL PROTECTED] X-Forwarded-For and default apache logging

2007-02-02 Thread Yu, Ming
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]

Re: [EMAIL PROTECTED] Apache 2.2.4 problem

2007-02-02 Thread Владимир Андреев
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.

[EMAIL PROTECTED] URLRewrite Question

2007-02-02 Thread Feris Thia
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

Re: [EMAIL PROTECTED] RewriteRule not executed with https

2007-02-02 Thread Krist van Besien
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: IfModule mod_rewrite.c RewriteEngine on RewriteBase /drupal/ RewriteCond %{REQUEST_FILENAME} !-f

RE: [EMAIL PROTECTED] URLRewrite Question

2007-02-02 Thread Chirouze Olivier
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}

Re: [EMAIL PROTECTED] URLRewrite Question

2007-02-02 Thread Krist van Besien
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, I

Re: [EMAIL PROTECTED] URLRewrite Question

2007-02-02 Thread Feris Thia
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 first

[EMAIL PROTECTED] Configuring htpasswd only for specific ServerAlias

2007-02-02 Thread Ben Roberts
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: VirtualHost 1.2.3.4:80 ServerName www.domain.com ServerAlias

Re: [EMAIL PROTECTED] Configuring htpasswd only for specific ServerAlias

2007-02-02 Thread Joshua Slive
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? VirtualHost sections are designed for exactly this purpose. Joshua.

RE: [EMAIL PROTECTED] URLRewrite Question

2007-02-02 Thread Chirouze Olivier
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

RE: [EMAIL PROTECTED] redirecting SSL

2007-02-02 Thread Chirouze Olivier
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 virtualHost scope will be

Re: [EMAIL PROTECTED] Configuring htpasswd only for specific ServerAlias

2007-02-02 Thread Ben Roberts
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? VirtualHost sections are designed for exactly this purpose. Joshua. Yes I suppose so. I've also realised I now need to

Re: [EMAIL PROTECTED] URLRewrite Question

2007-02-02 Thread Feris Thia
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

[EMAIL PROTECTED] Re: RewriteRule not executed with https

2007-02-02 Thread Andreas Matthias
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 course

[EMAIL PROTECTED] RewriteRule shennanigans

2007-02-02 Thread cristopher pierson ewing
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

[EMAIL PROTECTED] Symantec Antivirus installed during apache_2.2.4-win32-x86-no_ssl.msi

2007-02-02 Thread J E
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

[EMAIL PROTECTED] Daylight Savings Time change

2007-02-02 Thread Roberta Clark-Chabluk
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

Re: [EMAIL PROTECTED] Symantec Antivirus installed during apache_2.2.4-win32-x86-no_ssl.msi

2007-02-02 Thread Evan Platt
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.

Re: [EMAIL PROTECTED] Symantec Antivirus installed during apache_2.2.4-win32-x86-no_ssl.msi

2007-02-02 Thread William A. Rowe, Jr.
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 other

RE: [EMAIL PROTECTED] Daylight Savings Time change

2007-02-02 Thread Mark Lavi
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

[EMAIL PROTECTED] simple rewrite rule

2007-02-02 Thread arry
Hi, I would like to have a path like /go/ after which the address to be proxied. This is the config: Location /go/ SSLCipherSuite MEDIUM SSLRequireSSL AuthType Digest AuthName Restricted Area AuthDigestDomain /go/ AuthDigestProvider file AuthUserFile /var/www/.digestpwd

Re: [EMAIL PROTECTED] simple rewrite rule

2007-02-02 Thread Serge Dubrouski
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: Location /go/ SSLCipherSuite MEDIUM SSLRequireSSL AuthType Digest AuthName Restricted Area AuthDigestDomain /go/

Re: [EMAIL PROTECTED] how to set up virtual hosts

2007-02-02 Thread Beraru Liviu
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 some web

RE: [EMAIL PROTECTED] how to set up virtual hosts

2007-02-02 Thread Mark Lavi
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

Re: [EMAIL PROTECTED] URLRewrite Question

2007-02-02 Thread Bob
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

Re: [EMAIL PROTECTED] simple rewrite rule

2007-02-02 Thread Bob
[EMAIL PROTECTED] wrote: Location /go/ [...] RewriteEngine on RewriteRule ^(.*) http://$1 [P,L] RewriteRules inside location sections are syntactically permitted, but unsupported (see manual). -- Bob - The

[EMAIL PROTECTED] Re:Re: [EMAIL PROTECTED] simple rewrite rule

2007-02-02 Thread arry
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: Location /go/ SSLCipherSuite MEDIUM SSLRequireSSL AuthType Digest AuthName Restricted Area AuthDigestDomain /go/

Re: [EMAIL PROTECTED] simple rewrite rule

2007-02-02 Thread arry
Quoting Bob [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: Location /go/ [...] 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

Re: [EMAIL PROTECTED] Re:Re: [EMAIL PROTECTED] simple rewrite rule

2007-02-02 Thread Serge Dubrouski
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: Location /go/ SSLCipherSuite MEDIUM SSLRequireSSL AuthType Digest

Re: [EMAIL PROTECTED] simple rewrite rule

2007-02-02 Thread arry
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: Location /go/ [...] RewriteEngine on RewriteRule ^(.*) http://$1 [P,L] RewriteRules

Re: [EMAIL PROTECTED] simple rewrite rule

2007-02-02 Thread Serge Dubrouski
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

Re: [EMAIL PROTECTED] how to set up virtual hosts

2007-02-02 Thread Joshua Slive
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

Re: [EMAIL PROTECTED] Query-String Access from SetEnvIf

2007-02-02 Thread tyju tiui
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:

Re: [EMAIL PROTECTED] URLRewrite Question

2007-02-02 Thread Feris Thia
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/