Re: [users@httpd] Authentication BEFORE proxying

2017-04-08 Thread Ajay Garg
ded by you. Thanks and Regards, Ajay On Sat, Apr 8, 2017 at 7:30 PM, Luca Toscano <toscano.l...@gmail.com> wrote: > Hi Ajay, > > 2017-04-08 8:23 GMT+02:00 Ajay Garg <ajaygargn...@gmail.com>: > >> Hi All. >>

[users@httpd] Re: ProxyPass and ProxyPassReverse not working for URLs other than /

2017-04-08 Thread Ajay Garg
xying for locations other than "/"? This is important, else we will have to open one-port-per-location, instead of using one-port for all locations. Will be grateful for help. Thanks and Regards, Ajay On Sat, Apr 8, 2017 at 10:41 AM, Ajay Garg <ajaygargn...@gmail.com> wrote: > Hi A

[users@httpd] Authentication BEFORE proxying

2017-04-08 Thread Ajay Garg
Hi All. If I setup the following in a virtual-host, Listen 9001 DocumentRoot /var/www/html AuthType Basic AuthName "Restricted Content" AuthUserFile

[users@httpd] ProxyPass and ProxyPassReverse not working for URLs other than /

2017-04-07 Thread Ajay Garg
Hi All. When I have the following configuration : # ProxyPass / http://127.0.0.1:9000/ ProxyPassReverse / http://127.0.0.1:9000/ # and I type http://1.2.3.4 in the

Re: [users@httpd] Some basic (idiotic) queries regarding tunnelling-proxy

2017-03-24 Thread Ajay Garg
, 2017 at 10:14 AM, Ajay Garg <ajaygargn...@gmail.com> wrote: > Hi All. > > I could have the proxying to work perfectly, using the awesome > step-by-step link at https://devops.profitbricks.com/tutorials/configure- > apache-as-a-reverse-proxy-using-mod_proxy-on-ubuntu/. Whenever I o

Re: [users@httpd] Some basic (idiotic) queries regarding tunnelling-proxy

2017-03-23 Thread Ajay Garg
, the contents of page http://HTTP-Server/path/to/url opened up. Still, this requires the *Intermediatary* to have a public static IP-Address. Can this be done away with? Will be grateful for any replies. Thanks and Regards, Ajay On Wed, Mar 22, 2017 at 11:22 PM, Ajay Garg <ajaygargn...@gmail.com>

Re: [users@httpd] Some basic (idiotic) queries regarding tunnelling-proxy

2017-03-22 Thread Ajay Garg
Hi Rainer. Thanks for the help. I did some more googling, and (if I am not wrong), it seems https://httpd.apache.org/docs/2.4/mod/mod_proxy_http.html almost fits in our needs. We run mod_proxy on the *Intermediatary*. The end-user then opens a browser in *Server*, types in the hostname://path

[users@httpd] Some basic (idiotic) queries regarding tunnelling-proxy

2017-03-22 Thread Ajay Garg
Hi All. We have the following architecture :: Server <==> Intermediatary <==> HTTP-Server * Server and Intermediatary communicate over the internet as usual. * Intermediatary and HTTP-Server communicate over a local-interface. HTTP-Server is reachable at the Intermediatary, but the

[users@httpd] Query/Issue uploading file via HTTP POST/PUT using absolute basics

2015-08-09 Thread Ajay Garg
Hi All. We desire to set up file upload/download feature with a HTTP-Web-Server where the client runs in an embedded-environment, and thus wish to achieve this using the absolute basic primitives - socket programming (on the client-side that is). We have been able to achieve the download

Re: [users@httpd] Query/Issue uploading file via HTTP POST/PUT using absolute basics

2015-08-09 Thread Ajay Garg
## On Sun, Aug 9, 2015 at 10:47 PM, Eric Covener cove...@gmail.com wrote: On Sun, Aug 9, 2015 at 1:09 PM, Ajay Garg ajaygargn...@gmail.com wrote: I have tried googling and tried whatever it threw us, but I am unable to make the file-upload work

[users@httpd] Query regarding mod_rewrite module when handling URLs, containing POST data

2013-09-03 Thread Ajay Garg
Hi all. In our setup, we need to do conditional-redirects. Till now, we were able to accomplish them, by using a smart combination of RewriteCond, RewriteRule and QSA. However, we now face a situation, wherein we need to do re-directs, only if the original-URL does not contain

Re: [users@httpd] Query regarding mod_rewrite module when handling URLs, containing POST data

2013-09-03 Thread Ajay Garg
/2013 09:06 PM, Ajay Garg wrote: Hi all. In our setup, we need to do conditional-redirects. Till now, we were able to accomplish them, by using a smart combination of RewriteCond, RewriteRule and QSA. However, we now face a situation, wherein we need to do re-directs, only

Re: [users@httpd] Queries regarding the feasibility of achieving a use-case with HTTPD

2013-08-25 Thread Ajay Garg
, because the user shouldn't need to login, until the cookie expires, say in 30 days). Will be grateful for clearances :) On Sun, Aug 25, 2013 at 3:20 PM, Pete Houston p...@openstrike.co.uk wrote: On Sat, Aug 24, 2013 at 04:44:46PM +0530, Ajay Garg wrote: Is the above workflow possible by merely

[users@httpd] Queries regarding the feasibility of achieving a use-case with HTTPD

2013-08-24 Thread Ajay Garg
Hi all. Let me first present the use-case :) === USE-CASE BEGIN === I have a number of Directory/Directory directives (via the .conf files), and each director has an alias for it. So, my server can present different stuff, in accordance with the URLS like ::

[users@httpd] Re: Queries regarding the feasibility of achieving a use-case with HTTPD

2013-08-24 Thread Ajay Garg
finally be redirected (the second time) automatically to the desired URL, after the authentication-stuff is done. Looking forward to a reply, for the second part of the mystery :) On Sat, Aug 24, 2013 at 4:44 PM, Ajay Garg ajaygargn...@gmail.com wrote: Hi all. Let me first present the use-case

[users@httpd] Another speed question :)

2013-08-10 Thread Ajay Garg
Hi all. In part of ongoing investigations, i am evaluating the methods to setup the server side component of simple web-services, where there is a simple transfer of data. In this regard, I am considering the following two options :: a) Apache AXIS + SOAP b) Spache Tomcat + Servlets Which,

[users@httpd] Query regarding performance-differences, in using a servlet VS PHP module

2013-08-09 Thread Ajay Garg
Hi all. I was just doing some rudimentary research on what would be the best solution to implement server-side operations of our webapp. The servlet and PHP seem two widely used solutions. However, there is one important thing that struck me. Looking at

Re: [users@httpd] Query regarding performance-differences, in using a servlet VS PHP module

2013-08-09 Thread Ajay Garg
wrote: On Fri, Aug 9, 2013 at 11:57 AM, Ajay Garg ajaygargn...@gmail.com wrote: Hi all. I was just doing some rudimentary research on what would be the best solution to implement server-side operations of our webapp. The servlet and PHP seem two widely used solutions. However

Re: [users@httpd] Query regarding performance-differences, in using a servlet VS PHP module

2013-08-09 Thread Ajay Garg
On Fri, Aug 9, 2013 at 10:32 PM, Ajay Garg ajaygargn...@gmail.com wrote: Thanks Eric for the reply. So, is it possible to run PHP in Apache, with each client-request being serviced in a different thread (and not a new-process-per-new-request)? Because, it is a well known fact that a process

Re: [users@httpd] HTTPD shutting down (gracefully), without any seemingly reason

2013-07-22 Thread Ajay Garg
-in-fedora-18/ Take care, Mike Rumph On 7/21/2013 8:56 PM, Ajay Garg wrote: Hi all. I have been trying to run HTTPD with mod_wsgi since last some days on a Fedora-18 ARM, and have been having issues. Following is the latest one. When I start HTTPD, it dies immediately. Following

[users@httpd] HTTPD shutting down (gracefully), without any seemingly reason

2013-07-21 Thread Ajay Garg
Hi all. I have been trying to run HTTPD with mod_wsgi since last some days on a Fedora-18 ARM, and have been having issues. Following is the latest one. When I start HTTPD, it dies immediately. Following are the setup-files/logs. == /etc/httpd/conf/httpd.conf ==

Re: [users@httpd] httpd service timing-out

2013-07-19 Thread Ajay Garg
, Jul 18, 2013 at 10:54 PM, Ajay Garg ajaygargn...@gmail.com wrote: Hi all. I have used httpd to good effect since many months (mainly using it for uploading/downloading files via WebDAV) on a Fedora-18 ARM machine, and it has always worked like a charm. Now, we are in the process

Re: [users@httpd] httpd service timing-out

2013-07-19 Thread Ajay Garg
this related bug report from RedHat: - https://bugzilla.redhat.com/show_bug.cgi?id=909703 Take care, Mike On 7/18/2013 10:50 PM, Ajay Garg wrote: Mike, Running either of the above two scripts, I get Passing arguments to httpd using apachectl is no longer suppored. You can only start

[users@httpd] httpd service timing-out

2013-07-18 Thread Ajay Garg
Hi all. I have used httpd to good effect since many months (mainly using it for uploading/downloading files via WebDAV) on a Fedora-18 ARM machine, and it has always worked like a charm. Now, we are in the process of setting up a book-server, based on OPDS-spec, and WSGI. However, when we setup

Re: [users@httpd] httpd service timing-out

2013-07-18 Thread Ajay Garg
/2.4/stopping.html#hup Thanks, Mike Rumph On 7/18/2013 2:54 PM, Ajay Garg wrote: Hi all. I have used httpd to good effect since many months (mainly using it for uploading/downloading files via WebDAV) on a Fedora-18 ARM machine, and it has always worked like a charm. Now, we

Re: [users@httpd] Recommended way to setup file-uploading, in a Webdav based share

2013-07-02 Thread Ajay Garg
Thanks a lot John, for the reply !! On Tue, Jul 2, 2013 at 2:27 PM, John Doe jd...@yahoo.com wrote: From: Ajay Garg ajaygargn...@gmail.com I have been using a running HTTPD-server, that serves files via WebDAV. Now, I need to add the ability for clients to upload files to the same

[users@httpd] Recommended way to setup file-uploading, in a Webdav based share

2013-07-01 Thread Ajay Garg
Hi all. I have been using a running HTTPD-server, that serves files via WebDAV. These files are then easily downloadable to any machines, which have the IP-Address of my running HTTPD server :) Now, I need to add the ability for clients to upload files to the same WebDAV directory/virtualhost.

[users@httpd] Re: Problem in configuring WebDAV on Debian Squeeze

2012-09-08 Thread Ajay Garg
mod_ssl.c condition to be true throughout; which ultimately solved the issue - it opened port 443 for listening (which was embedded in the IfModule mod_ssl.c condition in /etc/apache2/ports.conf). Thanks and Regards, Ajay On Wed, Sep 5, 2012 at 5:14 PM, Ajay Garg ajaygargn...@gmail.com wrote: Hi

Re: [users@httpd] httpd on Debian

2012-09-05 Thread Ajay Garg
Thanks Alex. I think that I configured the webdav correctly, since after a lot of huffs and puffs, I could get /etc/init.d/apache2 restart working correctly on the Debian server machine. But then, I tried (on the Debian webdav server machine) ::

Re: [users@httpd] httpd on Debian

2012-09-05 Thread Ajay Garg
webdav shares from the host machine, Fedora-14, via firefox) :-) Thanks and Regards, Ajay On Wed, Sep 5, 2012 at 12:06 PM, Alex Bligh a...@alex.org.uk wrote: --On 5 September 2012 11:57:00 +0530 Ajay Garg ajaygargn...@gmail.com wrote: Does that mean that the webdav is still not properly

[users@httpd] Problem in configuring WebDAV on Debian Squeeze

2012-09-05 Thread Ajay Garg
Hi all. I have been able to setup WebDAV sharing on a server hosted on Fedora-14 and Fedora-17. However, when I try to do the same on a Debian Squeeze, I am unsuccessful. Here is the relevant info that I think is important :: === SETUP === * Debian Squeeze is installed as a VM, on a

[users@httpd] Is it possible to start httpd, with reading the certificates of non-root user?

2012-09-04 Thread Ajay Garg
Hi all. I have a WebDAV share setup in the context of httpd; and things work like a charm, when the key- and crt-file are in the context of root user and root group. However, if I generate the key and crt files in the context of some other user; modify the paths in /etc/httpd/conf.d/ssl.conf,

[users@httpd] Re: Is it possible to start httpd, with reading the certificates of non-root user?

2012-09-04 Thread Ajay Garg
Never mind.. I am an idiot. Sorry for the bother. Regards, Ajay On Tue, Sep 4, 2012 at 1:56 PM, Ajay Garg ajaygargn...@gmail.com wrote: Hi all. I have a WebDAV share setup in the context of httpd; and things work like a charm, when the key- and crt-file are in the context of root user

Re: [users@httpd] Is it possible to start httpd, with reading the certificates of non-root user?

2012-09-04 Thread Ajay Garg
is finding something in your key file it can't parse... Windows line endings maybe? S. -- Sander Temme san...@temme.net Sent from my phone On Sep 4, 2012, at 1:26 AM, Ajay Garg ajaygargn...@gmail.com wrote: Hi all. I have a WebDAV share setup in the context of httpd; and things work

[users@httpd] httpd on Debian

2012-09-04 Thread Ajay Garg
Hi all. I have successfully been setting up secure-webdav based shared on Fedora. However, when I try to do the same for Debian squeeze, I see the structure of files are very different. * The file /etc/apache2/httpd.conf is empty !! * The file

[users@httpd] An interesting observation

2012-08-21 Thread Ajay Garg
Hi all. I have been doing some testing with uploading large files to a httpd-based WebDAV server, and I notice that while uploading large files, if the connection breaks midway and the file is not transmitted completely, the (incomplete) file is deleted from the server automatically after a few

[users@httpd] Selective access to uploading-to/downloading-from a WebDAV share

2012-07-23 Thread Ajay Garg
Hi all. Is it possible to have selective access to uploading-to/downloading-from a WebDAV share, running in context of httpd? That is, we want to implement a scenario, wherein some users have been granted only uploading access; some users only download access; and some both

Re: [users@httpd] Re: Problems following symlinks in httpd-webdav

2012-05-29 Thread Ajay Garg
, 2012 at 5:58 PM, Eric Covener cove...@gmail.com wrote: On Sun, May 27, 2012 at 8:08 AM, Ajay Garg ajaygargn...@gmail.com wrote: Ping :) Just a minor query (please, don't treat me arrogant). Has anyone worked with symlinks feature in httpd-2.2.17-1.fc14.i686 ? If yes You'll have better

[users@httpd] Problems following symlinks in httpd-webdav

2012-05-04 Thread Ajay Garg
Hi all. I managed to set up a httpd-based WebDAV share (both on HTTP and HTTPS) some time back, through selfless help from this mailing list. Thanks a ton !!! Now, all works fine, except that I am not able to follow symlinks, while accessing them via browser. (The symlinks work fine on the

[users@httpd] Re: Is it possible to add custom properties in WebDAV, on the server side?

2012-04-17 Thread Ajay Garg
- Administration - SeLinux management - Boolean - apache. But I still face the exact same scenarios as before effecting the above three changes. Kindly help me, as to what else I may try out. Please. Thanks and Regards, Ajay On Tue, Apr 17, 2012 at 1:59 AM, Ajay Garg ajaygargn...@gmail.com wrote: Hi

[users@httpd] Re: Is it possible to add custom properties in WebDAV, on the server side?

2012-04-17 Thread Ajay Garg
My bad. I had set the permissions on the required webdav folder; but was testing (after a lot of failed attempts) with a hardcoded path. Now, trying fopen and fclose on files with webdav-files, and it works fine. Sorry, Thanks and Regards, Ajay On Tue, Apr 17, 2012 at 1:00 PM, Ajay Garg

[users@httpd] Re: Is it possible to add custom properties in WebDAV, on the server side?

2012-04-16 Thread Ajay Garg
. Is that so? :| I will be really grateful for a reply, as it's been close to two days, since this is bugging me. Looking forward to a reply. Regards, Ajay On Sat, Apr 14, 2012 at 11:54 PM, Ajay Garg ajaygargn...@gmail.com wrote: Ping :) Regards, Ajay On Fri, Apr 13, 2012 at 3:19 PM, Ajay

[users@httpd] Re: Is it possible to add custom properties in WebDAV, on the server side?

2012-04-14 Thread Ajay Garg
Ping :) Regards, Ajay On Fri, Apr 13, 2012 at 3:19 PM, Ajay Garg ajaygargn...@gmail.com wrote: Hi all. I have a Fedora 14 machine. I have been able to setup a WebDAV share, in httpd's context, at the server side. Also, I am able to (successfully) access the WebDAV share, through gnome

[users@httpd] Is it possible to add custom properties in WebDAV, on the server side?

2012-04-13 Thread Ajay Garg
Hi all. I have a Fedora 14 machine. I have been able to setup a WebDAV share, in httpd's context, at the server side. Also, I am able to (successfully) access the WebDAV share, through gnome-nautilus, on the client side. I am wondering, if there is a way to add custom properties on the server

Re: [users@httpd] How does client decrypt data in a HTTPS-based WebDAV transfer

2012-03-26 Thread Ajay Garg
, 2012 at 11:03 AM, Sander Temme scte...@apache.org wrote: Ajay, On Mar 25, 2012, at 9:54 PM, Ajay Garg wrote: Thanks Eric for the reply. Eric, but how is the shared secret comfigured? I do not remember configuring anything like this for the HTTPS-based WebDAV server. As your DAV client

Re: [users@httpd] How does client decrypt data in a HTTPS-based WebDAV transfer

2012-03-26 Thread Ajay Garg
...@googlemail.com wrote: On Mon, Mar 26, 2012 at 10:12 AM, Ajay Garg ajaygargn...@gmail.com wrote: Thanks a ton Sander. So on session setup-phase, the server sends the public-key to the client (which would hardly be a bother, even if it is intercepted by a eavesdropper). This public key

Re: [users@httpd] RE: Suspicious URL:Re: [users@httpd] Problems in setting up a HTTPS based WebDAV server

2012-03-25 Thread Ajay Garg
to it with a browser? S. On Mar 24, 2012, at 10:52 PM, Ajay Garg wrote: Thanks a ton, Daniel. I think, you are the first one to hit the nail on the head :-) Thanks again; I am obliged. Daniel, it seems that for generating certificates class 2 identification is required (http

Re: [users@httpd] RE: Suspicious URL:Re: [users@httpd] Problems in setting up a HTTPS based WebDAV server

2012-03-25 Thread Ajay Garg
in ssl.conf All credit to Sander. Thanks and Regards, Ajay On Sun, Mar 25, 2012 at 10:30 PM, Ajay Garg ajaygargn...@gmail.com wrote: Sander, SALUTE !!! After performing your suggested steps 1), 2) and 3), I am able to connect

[users@httpd] How does client decrypt data in a HTTPS-based WebDAV transfer

2012-03-25 Thread Ajay Garg
Hi all. I have managed to get a HTTPS-based WebDAV server up and running. However, I have a conceptual query (sorry if I sound an absolute idiot) :: ## When we configure

Re: [users@httpd] How does client decrypt data in a HTTPS-based WebDAV transfer

2012-03-25 Thread Ajay Garg
Thanks Eric for the reply. Eric, but how is the shared secret comfigured? I do not remember configuring anything like this for the HTTPS-based WebDAV server. Thanks and Regards, Ajay On Sun, Mar 25, 2012 at 11:39 PM, Eric Covener cove...@gmail.com wrote: BUT, HOW IS THE CLIENT ABLE TO

Re: [users@httpd] How does client decrypt data in a HTTPS-based WebDAV transfer

2012-03-25 Thread Ajay Garg
### in ssl.conf, and (i think) this is available only to the server. So, the data can be encrypted, but I am still clueless as to how is it decrypted at the client side. Regards, Ajay On Mon, Mar 26, 2012 at 10:24 AM, Ajay Garg ajaygargn...@gmail.com wrote: Thanks Eric for the reply

Re: [users@httpd] RE: Suspicious URL:Re: [users@httpd] Problems in setting up a HTTPS based WebDAV server

2012-03-24 Thread Ajay Garg
working (just about working locally). For production-based deployment, certificates can be generated on an official basis by my organisation. Thanks and Regards, Ajay On Sat, Mar 24, 2012 at 6:50 PM, Daniel Ruggeri drugg...@primary.netwrote: On 3/23/2012 11:47 PM, Ajay Garg wrote: I used