Re: [users@httpd] Custom authentication?
With some tweaking the following will work: client.srv.com has the file listings, makes an MD5 of the filename plus a salt (random string, lets call it 123456) and writes the MD5 to the disk of client.srv.com as /filename-123456.txt - then makes a request to dload.srv.com as /dl.php/filename/salt dload.srv.com/dl.php makes a request for the contents of client.srv.com/filename-salt.txt and checks that the MD5 of filename and salt match what was returned, if so serve the requested file through php with the correct header('Content-...') details. Use a cron job on client.srv.com to clear out the tmp files. -Tig - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] mod_rewrite
Hello Everybody, I have a very simple problem for which I am using mod_rewrite. I want to remove the certain consecutive path i.e Following is an example http://hostname/alpha/beta/theta/someuseful - http://hostname/prefix/someuseful/ I am using following rule, which works, but induces redirection on client end. I was thinking if I can reduce this unnecessary traffic. RewriteRule ^/alpha/beta/theta/(.*) /sugar/$1 [NC,L] Any hint will be highly appreciated. Thank you. rn - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] mod_rewrite
On Sun, Jan 9, 2011 at 10:27 AM, rangeli nepal rangeli.ne...@gmail.com wrote: Hello Everybody, I have a very simple problem for which I am using mod_rewrite. I want to remove the certain consecutive path i.e Following is an example http://hostname/alpha/beta/theta/someuseful - http://hostname/prefix/someuseful/ I am using following rule, which works, but induces redirection on client end. I was thinking if I can reduce this unnecessary traffic. RewriteRule ^/alpha/beta/theta/(.*) /sugar/$1 [NC,L] It shouldn't redirect. Maybe RewriteLog would help? -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] mod_rewrite
Well I will work on rewrite log. But I am pretty sure it redirects. I am using httpclient ( a java library for client side) and I have to change all the methods that use PostMethod. rn On Sun, Jan 9, 2011 at 11:58 AM, Eric Covener cove...@gmail.com wrote: On Sun, Jan 9, 2011 at 10:27 AM, rangeli nepal rangeli.ne...@gmail.com wrote: Hello Everybody, I have a very simple problem for which I am using mod_rewrite. I want to remove the certain consecutive path i.e Following is an example http://hostname/alpha/beta/theta/someuseful - http://hostname/prefix/someuseful/ I am using following rule, which works, but induces redirection on client end. I was thinking if I can reduce this unnecessary traffic. RewriteRule ^/alpha/beta/theta/(.*) /sugar/$1 [NC,L] It shouldn't redirect. Maybe RewriteLog would help? -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] SSL Termination at Apache
Hi , We have below scenario. Internet Users https--Server A--https Apache Server B-http---Server C We want https flow from internet users to Server A , from Server A to Apache server B again https .Then from Apache to Server C So SSL is terminated at Apache Server. Is there any configuration to terminate SSL at Apache? Best REgards,Tushar Date: Fri, 7 Jan 2011 23:09:07 + From: i.ga...@brainsware.org To: users@httpd.apache.org Subject: Re: [us...@httpd] SSL Termination at Apache - Tushar Chavan tushar.cha...@hotmail.com wrote: Hi Team, Can we terminate SSL at Apache? If yes , can you please let me know how to do it ? I mean is there any directive for it? http://httpd.apache.org/docs/current/ssl/ Best Regards, Tushar. -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.org/ - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] SSL Termination at Apache
On 01/09/2011 08:58 PM, Tushar Chavan wrote: Hi , We have below scenario. Internet Users https--Server A--https Apache Server B-http---Server C We want https flow from internet users to Server A , from Server A to Apache server B again https .Then from Apache to Server C So SSL is terminated at Apache Server. Is there any configuration to terminate SSL at Apache? Apache as a reverse proxy. Joost - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Changing apache default port 80 creates problem
2011/1/9 Γιώργος Κατωποδης yiorgoskatopo...@gmail.com: Hello all, I run ubuntu 10.04.1 on a virtual linode server. When i change the default port 80 to 8081 or 81 (because another application needs to run on the port 80 -nginx-) and then browse my domain name, i must write in the browser window xxx.xxx.xxx.xxx:8081 (or 81) in order to go in my site. When i just write the ip address xxx.xxx.xxx.xxx the browser responds with a broken link comment. That's just how it works -- your browser assumes port 80 for HTTP URL's, and if you use something else on your server your browser doesn't guess. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Changing apache default port 80 creates problem
Use http:// instead of IP address. Example: http://xx.xx.xx.xx:8081 Regards, Muhammad Nuzaihan On Mon, 2011-01-10 at 04:29 +0200, Γιώργος Κατωποδης wrote: Hello all, I run ubuntu 10.04.1 on a virtual linode server. When i change the default port 80 to 8081 or 81 (because another application needs to run on the port 80 -nginx-) and then browse my domain name, i must write in the browser window xxx.xxx.xxx.xxx:8081 (or 81) in order to go in my site. When i just write the ip address xxx.xxx.xxx.xxx the browser responds with a broken link comment. Is it something i can do about it??? Thanks in advance Yiorgos Katopodis - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Apache process not coming down and going high upto 259
Hello Team, I am facing very weird problem of apache porcess going high upto 259 and increasing again even after restart of backend server ie. tomcat. Apache version :- 2.0.59 Tomcat Version :- 5.5.9 Apache/Tomcat connectivity :- mod_jk when i have checked mod_jk.log file i am seeing this messages in the logs. [Mon Jan 10 08:14:52 2011] worker1 erib2bdev.ericsson.net 0.001122 [Mon Jan 10 08:14:55 2011] worker1 erib2bdev.ericsson.net 0.000732 [Mon Jan 10 08:14:57 2011] worker1 erib2bdev.ericsson.net 0.000740 [Mon Jan 10 08:15:00 2011] worker1 erib2bdev.ericsson.net 0.000846 [Mon Jan 10 08:15:02 2011] worker1 erib2bdev.ericsson.net 0.000952 I am not sure what does it mean when the name erib2bdev.ericsson.net is not refereed anywhere in my apache and tomcat configuration files and not even in workers.properties file. Can anyone help me torubleshoot this issue? Thanks in advance.
Re: [us...@httpd] New to list - Redirect, Alias or Rewrite?? Very confused...
On 04.01.11 11:59, d...@aiphone.com wrote: I am attempting to have the Apache Server 2.0 handle the following request for me: When a visitor visits http://mydomain.com/OLD_Web App/, I would like them to be automatically redirected to http://mydomain.com/New_Web App/ Both OLD and NEW Web App folders live in the same doc root and are at the same level in the folder tree - ie right off of root. I have tried both Alias commands and Redirect commands and nothing seems to work. what exactly did you try? show us the directives. Actually all those directives should work somehow, but I prefer Redirect for such cases. I have restarted Apache on each change. reload, even graceful, should be enough. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Linux IS user friendly, it's just selective who its friends are... - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] mod_rewrite
On 09.01.11 10:27, rangeli nepal wrote: I have a very simple problem for which I am using mod_rewrite. I want to remove the certain consecutive path i.e Following is an example http://hostname/alpha/beta/theta/someuseful - http://hostname/prefix/someuseful/ I am using following rule, which works, but induces redirection on client end. I was thinking if I can reduce this unnecessary traffic. RewriteRule ^/alpha/beta/theta/(.*) /sugar/$1 [NC,L] why not use alias? Alias /alpha/beta/theta/someuseful/ /prefix/someuseful/ in the vhost section -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Linux is like a teepee: no Windows, no Gates and an apache inside... - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org