RE: [EMAIL PROTECTED] Still Need Help w. PHP And Apache

2007-03-28 Thread Huesser Peter
Another possiblilty is: http://www.apachefriends.org/en/xampp.html Pedro From: Bill Angus [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 29. März 2007 00:57 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Still Need Help w. PHP And Apache If you

RE: [EMAIL PROTECTED] RewriteCond: cannot compile regular expression

2007-03-21 Thread Huesser Peter
I guess something like [a-zA-Z][0-9][0-9][0-9]\.rewrite\.dev or [a-zA-Z][0-9]{3}\.rewrite\.dev or \D\d\d\d\.rewrite\.dev or \D\d{3}\.rewrite\.dev should work. Pedro > -Original Message- > From: Norman Khine [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 21. März 2007 16:5

RE: [EMAIL PROTECTED] File Uppload via HTTP and PHP

2007-03-20 Thread Huesser Peter
I had the same problem about one and a half year ago. There it was the loadbalancer in front of our webservers that produced the error. Pedro > Tomas Larsson wrote: > > Dear group. > > It seems that for some reason the APACHE server is terminating file- > uploads > > randomly. > > I'm getting v

RE: [EMAIL PROTECTED] Rewrite does not work

2007-01-16 Thread Huesser Peter
> > Apache does not do reverse lookups on client host IPs by default. > See: > http://httpd.apache.org/docs/2.0/mod/core.html#hostnamelookups > Thanks' Pedro - The official User-To-User support forum of the Apache HTTP Ser

RE: [EMAIL PROTECTED] Rewrite does not work

2007-01-11 Thread Huesser Peter
> > Is there a .htaccess file somehwere in your mailmain install? If so, > have a look in there... > No. Pedro - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslis

RE: [EMAIL PROTECTED] Rewrite does not work

2007-01-09 Thread Huesser Peter
> > Usually not in server context, mod_rewrite acts before the mapping to > filesystem occurs. You said that the rewrite log is completely empty, > when you request /testtinfo/fea? That would mean the rules are not seen > at all, e.g. a matched and the rules are defined in the > main server confi

RE: [EMAIL PROTECTED] Rewrite does not work

2007-01-09 Thread Huesser Peter
> > Yes, this will cause a reverse DNS lookup of remote_addr. But anyway, I > think your order is incorrect. If your request comes through port 80, > the 2nd rule won't have any effect, because your first rule matched > already. > > RewriteEngine On > RewriteCond %{REMOTE_HOST} \.domain\.ch$ > Re

RE: [EMAIL PROTECTED] Rewrite does not work

2007-01-09 Thread Huesser Peter
> > What are you seeing in your rewrite log? (If you don't have a rewrite > log, switch it on now, and set debugging to a sufficiently high > level). > Thanks for your answer. I turned it on and see nothing in the rewrite.log file for the second RewriteCond (the first works fine and produces seve

[EMAIL PROTECTED] Rewrite does not work

2007-01-08 Thread Huesser Peter
Hello I have a problem with a rewrite. In my httpd.conf I use the following lines: ScriptAlias /test/ /var/test/cgi-bin/ Alias /pipermail/ /var/test/archives/public/ Options +FollowSymlinks RewriteEngine On RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^(.+)$ https:/

RE: [EMAIL PROTECTED] Simple Rewrite Question

2006-12-14 Thread Huesser Peter
OK. Thanks a lot. This works fine. Pedro - Seems that you are redirecting to yourself: You need a (virtual)host for servername, in this you redirect to servername.mydomain The (virtual)host servername.mydomain then has the correc

RE: [EMAIL PROTECTED] Simple Rewrite Question

2006-12-14 Thread Huesser Peter
Does not work. I get an error message "Redirection limit for this URL exceeded. ...". By the way: the reason I have to do is is the certificate which was created for "servername.mydomain". So everybody who just types "servername" has to accept the certificate. I want to avoid this. Pedro ---

[EMAIL PROTECTED] Simple Rewrite Question

2006-12-14 Thread Huesser Peter
Hello Within a virtual server I want every request of the form https://servername to be redirected to https://servername.mydomain . Can somebody give me a hint which RewriteRule and RewriteCond I have to use? Thanks' in advance for any

RE: [EMAIL PROTECTED] Rewrite http to https

2006-09-21 Thread Huesser Peter
> > I want to rewrite all request to > "http:virtual.server.domain/path/file.html" > > to "https://virtual.server.domain/path/file.html";. One of > > the solutions I found is: > > The simplest solution to this is as follows. If you have both an http > and https server, then you should have a blo

RE: [EMAIL PROTECTED] Rewrite http to https

2006-09-20 Thread Huesser Peter
> On the port 80 virtual host, I have: > > RewriteCond %{HTTP_HOST} !^$ > RewriteRule ^/(.*) https://I_USE_A_HARDCODED_HOSTNAME/$1 [L,R] > Put this in the htaccess file. Did not work. Pedro - The official User-To-User support

RE: [EMAIL PROTECTED] Rewrite http to https

2006-09-20 Thread Huesser Peter
> > If you are looking for particular url, this should work: > > RewriteEngine on > RewriteRule ^(.*/somepath/securefile.*) https://%{SERVER_NAME}$1 [R,L] > This does not work on my server. I put this in the htaccess-file of the DocumentRoot of the virtual server and it had no effect. Pedro

[EMAIL PROTECTED] Rewrite http to https

2006-09-20 Thread Huesser Peter
Hello   This question was often asked before but I did not get any solution to work:   I want to rewrite all request to “http:virtual.server.domain/path/file.html” to “https://virtual.server.domain/path/file.html”. One of the solutions I found is:       RewriteEngine On