f



Rederecting DAV requests - on: Apache(2.0)/ mod_perl(2.0)/ perl(5.8)/ webDAV

My mod_perl handler redirects DAV requests.
Each user logs on then points their DAV client to <srv>/dav/home
From the login info, the handler translates this to /home/www/userXYZ
and does an internal redirect to it.

1. First step partially works, I can redirect to <srv>/testuser/,
which is an Alias defined in httpd.conf as pointing to
/home/www/userXYZ.
Problem: Dav client only sees folders, not files, and the folders
recurse.

2. Second step is more tricky, I cant seem to redirect to a sub-path
of an alias.
I need to do this, cant have one alias per user as there would be
40,000 Aliases!
I have an alias /dav/ which points to /home/www.
But when I try to redirect to /dav/userXYZ the DAV client complains
that
"Server doesnt support WebDAV at resource /dav/home

Same thing happens when I point DavCli directly at /dav/userXYZ, 
the DAV client complains that "Server doesnt support WebDAV at
resource /dav/userXYZ.
It seems to like Alias's but not their sub-paths.

3. Eventually I want to redirect into another path that the handler
handles,
so that I can reject invalid requests.
This means 2 handlers for the same URI: my .pm and mod_dav. 
How can I "handle" a request then (optionally) pass it on to mod_dav?

Thanks in advance, I'd much appreciate any comments.

Mike Burton
0
ngroup1 (3)
4/25/2004 5:05:30 PM
comp.lang.perl.modules 4194 articles. 0 followers. jerrykrinock (6) is leader. Post Follow

1 Replies
570 Views

Similar Articles

[PageSpeed] 42

Oh Dear, is there nobody out there who can help with this??

Yours ever hopefully,
 
Mike Burton



ngroup@mycosystems.co.uk (Mike Burton) wrote in message news:<4f0c2547.0404250905.63afdadb@posting.google.com>...
> My mod_perl handler redirects DAV requests.
> Each user logs on then points their DAV client to <srv>/dav/home
> From the login info, the handler translates this to /home/www/userXYZ
> and does an internal redirect to it.
> 
> 1. First step partially works, I can redirect to <srv>/testuser/,
> which is an Alias defined in httpd.conf as pointing to
> /home/www/userXYZ.
> Problem: Dav client only sees folders, not files, and the folders
> recurse.
> 
> 2. Second step is more tricky, I cant seem to redirect to a sub-path
> of an alias.
> I need to do this, cant have one alias per user as there would be
> 40,000 Aliases!
> I have an alias /dav/ which points to /home/www.
> But when I try to redirect to /dav/userXYZ the DAV client complains
> that
> "Server doesnt support WebDAV at resource /dav/home
> 
> Same thing happens when I point DavCli directly at /dav/userXYZ, 
> the DAV client complains that "Server doesnt support WebDAV at
> resource /dav/userXYZ.
> It seems to like Alias's but not their sub-paths.
> 
> 3. Eventually I want to redirect into another path that the handler
> handles,
> so that I can reject invalid requests.
> This means 2 handlers for the same URI: my .pm and mod_dav. 
> How can I "handle" a request then (optionally) pass it on to mod_dav?
> 
> Thanks in advance, I'd much appreciate any comments.
> 
> Mike Burton
0
ngroup1 (3)
5/4/2004 12:46:27 AM
Reply:

Similar Artilces:

perl 5.8.2.0 base fileset is in AIX 5.2 or is in 5.3?
Did this base fileset first appear in 5.2 or did it first appear in 5.3? (I don't have 5.3 hosts, so I can't check that.) Thanks! -Dan Dan Foster wrote: > Did this base fileset first appear in 5.2 or did it first appear in 5.3? > > (I don't have 5.3 hosts, so I can't check that.) > > Thanks! > > -Dan Not really sure, but I think appearance was with 5.3. Checking at my site and found the highest level on a 5.2 machine was 5.8.1.12 - never seen a 5.8.2.0 on a 5.2 machine In article <dqgafi$jfe$1@online.de>, Friedhelm Neyer <Friedhelm.Neyer...

mod_perl 2.0.3 and apache 2.0.x and 2.2.x^
Hello NG, can I install the mod_perl 2.0.3 ppm packages for bothe server versions of apache? (perl 5.8.x, ActiveState/Win32) It would be good to have both installed. "mod_perl-2.0" (apache 2.0.x) _AND_ "mod_perl" (apache 2.2.x) Thomas ...

what version of Perl do you use? i've installed apache 2.2 and will install mod_perl 2.0
i'd like to know the experience of people who use various versions of Perl with these. i think you need at least Perl 5.6.1. any gotchas with older vs. newer versions? ...

GD-2.06 build on Solaris 2.8 w/PERL 5.8.0
Wondering what the following two warnings might indicate? w2hzlnt703# perl Makefile.PL NOTICE: This module requires libgd 2.0.5 or higher. it will NOT work with earlier versions. For earlier versions of libgd, use GD version 1.41. Where is libgd installed? [/usr/lib] /em/opt/local/lib Please choose the features that match how libgd was built: Build JPEG support? [y] y Build FreeType support? [y] n Build XPM support? [y] n If you experience compile problems, please check the @INC, @LIBPATH and @LIBS arrays defined in Makefile.PL and manually adjust, if necessary. WARNING: CAPI is not a known parameter. Warning: prerequisite Math::Trig 1.00 not found. Writing Makefile for GD --- WARNING: CAPI is not a known parameter. Warning: prerequisite Math::Trig 1.00 not found. Any idea what CAPI is? Math::Trig is part of Perl 5.8.0, so why can't it find this PRE-REQ PM? /em/opt/perl5/lib/5.8.0/Math/Trig.pm Additional info -- may or may not be useful: w2hzlnt703# perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris uname='sunos w2hzlnt703 5.8 generic_108528-14 sun4u sparc sunw,ultra-60 ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=de...

if time = 3 seconds, how do i set the values of the time steps 0,0.1,0.2,0.3,0.5,1.0,1.5,2.0,3.0,5.0 to -9999 from time =3 seconds
Hi &nbsp; I have 18 inputs (arrays) which contain certain statistics and if time&nbsp;&nbsp;= 3 seconds, set the values of time step 5.0 to -9999.0. &nbsp; I was wondering if there is an efficient way to do this without using a lot of case statements? &nbsp; Thank you. Hello AdrianT, it's not really clear to me what you want to do... I suspect: you have an array containing values and you want to output them with a fixed timing of 3 seconds: you should use a for loop autoindexing trough your array and sending the value to your indicator/output/whatever. Put a "wait for next multiple" into your for loop. Or do you want to have a minimum time delay of 3 seconds? Again use a for loop, get the time value and use a InRange&amp;Coerce with minimum set to 3 seconds... Or you should explain more precisely what you need... Hi Thanks for that. Let me explain. &nbsp; The time may vary. Let me give an example. if time&nbsp; = 2.1, I want to set the time step's &nbsp;3.0 and 5.0's values to -9999.0. if the time =0.1 seconds then I want to set 0.2,0.3, 0.5 etc values to -9999.0 etc .................................................................... &nbsp; Can you please help? Thank you. Hello TUDS, do you use different accounts/nicknames ? Well, that's easy, at least for a sorted array: Search for your time-value in the array (Threshold 1D array). Fill all elements from that index till the end with your "error...

[ANN] gettext-2.0.2, gettext_activerecord-2.0.2, gettext_rails-2.0.2
Hi, Ruby-GetText-Package-2.0.2 and the families (gettext-2.0.2, gettext_activerecord-2.0.2 and gettext_rails-2.0.2) are now available. Ruby-GetText-Package is the library/tools for message localization. * gettext - Message localization libraries and tools for all kind of apps/libs. * gettext_activerecord - ActiveRecord Localization * gettext_rails - Rails support with gettext. Changes ------- == gettext-2.0.2 * Support ruby-1.9.1 style format string such as %<foo>d. * Apply new Locale.set_app_language_tags and Locale.candidates. [Suggested by Vladimir Dobriakov] * Enhance...

update Oracle from 10.2.0.2.0 to 10.2.0.2.0
Where can I get the software for 10g 10.2.0.2.0. for Windows XP 32 bit. Thank you very much. "keekee" <moongeegee@gmail.com> a �crit dans le message de news: f3b21ed0-12fd-4812-b9da-60cf59d508b9@i9g2000yqi.googlegroups.com... | Where can I get the software for 10g 10.2.0.2.0. for Windows XP 32 | bit. | Thank you very much. On Metalink (My Oracle Support). https://support.oracle.com/CSP/ui/flash.html Regards Michel ...

The mod_perl 2.0.2 + apache v2.2.3 #2
mod_perl 2.0.2 + apache v2.2.3 from http://www.devside.net/server/webdeveloper httpd.conf ThreadsPerChild 1920 ======================================================== I have a project must upload files to win2003 server. So i do the job by implement Protocol (Connection) Handlers in mod_perl. But the server will very busy when > 5 connections connect to apache at the same time. Maybe one connection upload big file (100M) . But in general the files is < 5M. The server have 4 cpu and Ram is 4G.But sometime the new connection will hang a little time (sometime can not accept new connecti...

The mod_perl 2.0.2 + apache v2.2.3 #2
mod_perl 2.0.2 + apache v2.2.3 from http://www.devside.net/server/webdeveloper httpd.conf ThreadsPerChild 1920 ======================================================== I have a project must upload files to win2003 server. So i do the job by implement Protocol (Connection) Handlers in mod_perl. But the server will very busy when > 5 connections connect to apache at the same time. Maybe one connection upload big file (100M) . But in general the files is < 5M. The server have 4 cpu and Ram is 4G.But sometime the new connection will hang a little time (sometime can not accept new connecti...

Win2kSP4, Apache-2.0.49 + Tomcat-5.0.27 + mod_jk2-2.0.43
OS: Windows 2000, Service Pack 4 Apache ver.: 2.0.49 Tomcat ver.: 5.0.27 mod_jk2 ver.: 2.0.43 We have a server set up to forward requests through Apache to Tomcat using mod_jk2. The setup works, except that periodically it will throw an error as follows on the server: - Application popup: Apache.exe - Application Error : The instruction at "0x6eec7826" referenced memory at "0x00000000". The memory could not be "read". - On the user end, the web app is not interrupted when this happens. In the mod_jk2 error log, the following lines appear when ...

SW: Firefox-8.0.1, Seamonkey-2.5 and Thunderbird-8.0 for OS/2 released
++ From the VOICE OS/2-eCS News Service http://www.os2voice.org ++ From: wunoDESPAM@DESPAMlsvw.de Hi, after mostly positive feedback for the betas, I built and uploaded the final releases. Still I could not upload firefox-8.0.1 to the mozilla ftp server. Please, download it from netlabs: ftp://ftp.netlabs.org/incoming/mozilla/firefox-8.0.1.en-US.os2.zip Thunderbird and Seamonkey betas can be downloaded from mozilla ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/8.0/contrib/thunderbird-8.0.en-US.os2.zip ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/2.5/contr...

upgrade from oracle 9.2.0.1.0 to 9.2.0.5.0
Hi, I have a 9.2.0.1.0 database that I want to upgrade to 9.2.0.5. for window version 32 bits, does anyone can provide the node document information of step by step doing it. many thanks leehi leehi wrote: > I have a 9.2.0.1.0 database that I want to upgrade to 9.2.0.5. for > window version 32 bits, Windows NT4? W2k? W2K3? W2K3 - Release 2? Why stop ot 9.2.0.5? > does anyone can provide the node document information of step by step > doing it. leehi wrote: > Hi, > > I have a 9.2.0.1.0 database that I want to upgrade to 9.2.0.5. for > window version 32 bits, > > does anyone can provide the node document information of step by step > doing it. > > many thanks > > leehi Go to metalink.oracle.com (registration and Oracle support CSI required). Click on Patches and Updates tab. Wait for the whole screen to load. Use one of the search functions to find your patch (note the Quick Links if you are getting something common, like 9206 or 9207). When you finally get to your patch download, click on the readme (the piece-of-paper icon next to the download icon). Read all the instructions. It's a good idea to read the instructions every time you do it, even (or perhaps especially) when you are comfortable doing it. The readme is usually also included with the patch. Download and unzip the patch. Look at what is there in the patch, perhaps there are additional release notes. Look around on metalink for addition...

Compatibility between Forms 6.0.8, client 8.0.6 and Server 10.2.0.2?
I'm using Server side: Oracle server 10.2.0.2 (Windows Server 2003) Client side (Windows XP SP2): Net 8 client: 8.0.6.3.2c SQL Plus: 8.0.6.0.0 Application: Forms Runtime: 6.0.8.25.0 Reports Runtime: 6.0.8.25.0 Graphics Runtime: 6.0.8.17.1 Will my client 8.0.6 work properly with 10.2.0.2 server? I tried it, and it seems to work fine, but I'm afraid of some compatibility problems that might come up. It should go in the production in the next 2-3 days, so I don't have enough time for testing. Can I use newer version of client to work with Forms 6i? If so, witch one? I've tried 10.2 client and my Runtimes didn't want to connect to the Server. Tnx for help I know the server based version of Oracle Forms 6i when fully patched is certified to work with version 10gR1. Being the product is obsolete it will never be certified to work with version 10gR2. We run server based Forms 6i and plan to attempt to upgrade to 10gR2, We managed to recompile and link all our Forms, Report Writer, and Pro*c programs against 10.1.0.4 but we have not really tested them. Right now we are in a wait state due to resources, but once we get the time we plan to upgrade our 10gR1 test system to 10gR2 and give everything a go. Please post back with any incompatibilities you encounter or useful information you run accross. HTH -- Mark D Powell -- ...

Compatibility between Forms 6.0.8, client 8.0.6 and Server 10.2.0.2?
I'm using Server side: Oracle server 10.2.0.2 (Windows Server 2003) Client side (Windows XP SP2): Net 8 client: 8.0.6.3.2c SQL Plus: 8.0.6.0.0 Application: Forms Runtime: 6.0.8.25.0 Reports Runtime: 6.0.8.25.0 Graphics Runtime: 6.0.8.17.1 Will my client 8.0.6 work properly with 10.2.0.2 server? I tried it, and it seems to work fine, but I'm afraid of some compatibility problems that might come up. It should go in the production in the next 2-3 days, so I don't have enough time for testing. Can I use newer version of client to work with Forms 6i? If so, witch one? I've tried 10.2 client and my Runtimes didn't want to connect to the Server. Tnx for help "Vigor" <igorv@euro-tera.hr> wrote in news:dvrtl6$cuv$1@sunce.iskon.hr: > I'm using > > > > Server side: > > Oracle server 10.2.0.2 (Windows Server 2003) > > > > Client side (Windows XP SP2): > > Net 8 client: 8.0.6.3.2c > > SQL Plus: 8.0.6.0.0 > > > > Application: > > Forms Runtime: 6.0.8.25.0 > > Reports Runtime: 6.0.8.25.0 > > Graphics Runtime: 6.0.8.17.1 > > > > > > Will my client 8.0.6 work properly with 10.2.0.2 server? I tried it, > and it seems to work fine, but I'm afraid of some compatibility > problems that might come up. It should go in the ...

Firefox 2.0.0.2, 1.5.0.10 contrib. builds on Solaris10, Solaris8/9 are available #2
Please do NOT reply to this address. If you have any problems, feel free to send email to desktop dash discuss at opensolaris dot org Firefox 2.0.0.2, 1.5.0.10 contrib. builds on Solaris10, Solaris8/9 are now available on www.mozilla.com It's now much easier to get the latest contributed build on Solaris, just go to http://www.mozilla.com and click "Free Download" which would point you to the download page. Download Page ============== Firefox 2.0.0.2 http://www.mozilla.com (Click "Free Download") http://www.mozilla.com/en-US/firefox/2.0.0.2/releasenotes/#contribute...

Pythonutils 0.2.2 , ConfigObj 4.0.0 Beta 5, odict 0.1.1
The response to pythonutils__ was very good. Especially the odict__ module (ordered dictionary) - it's had over one hundred and fifty downloads already. Thanks to some useful user feedback, Nicola Larosa has updated and improved it. More embarassingly we've done a bugfix release of ConfigObj__ - now up to beta 5. This fixes another couple of bugs - we aim to get out of beta someday...... All this is my way of saying that *odict 0.1.2*, *pythonutils 0.2.2*, and *ConfigObj beta 5*, are all available from the `Voidspace Modules`__ page. __ http://www.voidspace.org.uk/python/pythonutils...

The mod_perl 2.0.2 + apache v2.2.3
mod_perl 2.0.2 + apache v2.2.3 from http://www.devside.net/server/webdeveloper httpd.conf ThreadsPerChild 1920 ======================================================== I have a project must upload files to win2003 server. So i do the job by implement Protocol (Connection) Handlers in mod_perl. But the server will very busy when > 5 connections connect to apache at the same time. Maybe one connection upload big file (100M) . But in general the files is < 5M. The server have 4 cpu and Ram is 4G.But sometime the new connection will hang a little time (sometime can not accept new connecti...

Apache 2.2.0 binaries for AIX 5.2
Hi, Does anyone knows where I can get the binaries for Apache on AIX 5.2 for download ? Thanks joe Hello, You'll find binaries for Apache 1.3.34 here: http://aixpdslib.seas.ucla.edu/packages/apache.html Fija, Thanks, but I need binaries for apache 2.2.0 joe Here.. ~ http://www-306.ibm.com/software/webservers/httpservers/ ...

The mod_perl 2.0.2 + apache v2.2.3
mod_perl 2.0.2 + apache v2.2.3 from http://www.devside.net/server/webdeveloper httpd.conf ThreadsPerChild 1920 ======================================================== I have a project must upload files to win2003 server. So i do the job by implement Protocol (Connection) Handlers in mod_perl. But the server will very busy when > 5 connections connect to apache at the same time. Maybe one connection upload big file (100M) . But in general the files is < 5M. The server have 4 cpu and Ram is 4G.But sometime the new connection will hang a little time (sometime can not accept new connecti...

WinXP SP2,Apache 2.0.52, MySQL 5.0.0, PHP 5.01
I'm having a little trouble getting MySQL to load with Apache. Apache and PHP are working OK, but MySQL isn't loading. I know php.ini is loading because the following lines are in php.ini: extension_dir = "C:\Program Files\PHP" extension=php_mysql.dll and the error I get when Apache starts up is: PHP Startup: Unable to load dynamic load library 'C:\Program Files\PHP\php_mysql.dll' - The specified procedure could not be found. php_mysql.dll is definitely there. This same setup ( MySQL 5.0.0, PHP 5.01) works unchanged with the Abyss Web Server, so I know MySQL and PHP are set up OK. I've also tried putting a copy of php_mysql.dll directly in the Windows directory - no help. Any ideas out there??? Thanks - Ron ...

Upgrade 9.2.0.8 --> 11.2.0.2
The first production database in my company is just being upgraded from 9.2.0.8 to 11.2.0.2. It's a RAC, running on RH AS 2.1 (32bit) and OCFS, being moved to RH 4.8, with OCFS2, RAC. That's the 1st step. The second step will be to create a standby on 2 64bit nodes running RH 5.6 or RH 6.0, with ASM and get rid of that pesky OCFS and 32 bit OS. All of that will be accomplished with 5 hours of downtime altogether. We're changing OS version, DB version, architecture and SAN in the same migration. This type of projects is why I love being a DBA. -- http://mgogala.byethost5.com On Sat, 06 Aug 2011 20:53:14 +0000, Mladen Gogala wrote: > The first production database in my company is just being upgraded from > 9.2.0.8 to 11.2.0.2. It's a RAC, running on RH AS 2.1 (32bit) and OCFS, > being moved to RH 4.8, with OCFS2, RAC. That's the 1st step. The second > step will be to create a standby on 2 64bit nodes running RH 5.6 or RH > 6.0, with ASM and get rid of that pesky OCFS and 32 bit OS. All of that > will be accomplished with 5 hours of downtime altogether. We're changing > OS version, DB version, architecture and SAN in the same migration. This > type of projects is why I love being a DBA. First step complete. All is well so far. -- http://mgogala.byethost5.com On Sun, 07 Aug 2011 00:07:13 +0000, Mladen Gogala wrote: > On Sat, 06 Aug 2011 20:53:14 +0000, Mladen Gogala wrote: > >> The first production ...

Risk and Decision Analysis @Risk, Evolver, Decisiontools, Roy Kelly FloorTrader Tools 8.3, AmiBroker 5.0, MultiCharts 2.1, NinjaTrader 6, OwnData 2.6, VantagePoint 7.0.11.2, other ...
Risk and Decision Analysis @Risk, Evolver, Decisiontools, Roy Kelly FloorTrader Tools 8.3, AmiBroker 5.0, MultiCharts 2.1, NinjaTrader 6, OwnData 2.6, VantagePoint 7.0.11.2, other ... please send e-mail to : ola 'AT' mail 'DOT' gr , ola3 'AT' mailbox 'DOT' gr , ( please substitute 'AT' with '@' , and 'DOT' with '.' ) , ola@mail.gr, ola3@mailbox.gr, ======================================= RISK ANALYSIS with @RISK --- @RISK 4.5.7 for Excel, Compatible with Excel 2007, ( Standard, Porfessional, Industrial ) @RISK...

installing and running apache 2.0.46 / php5.0.0b1 / Suse Linux 8.2
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In yast I see that the new apache2 version is installed but not php5, its still on php4 any ideas ?? 1. gzip -d httpd-2_0_NN.tar.gz 2. tar xvf httpd-2_0_NN.tar 3. gunzip php-NN.tar.gz 4. tar -xvf php-NN.tar 5. cd httpd-2_0_NN 6. ./configure --enable-so 7. make 8. make install Now you have Apache 2.0.NN available under /usr/local/apache2, configured with loadable module support and the standard MPM prefork. To test the installation use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start and stop the server to go on with the configuration for PHP: /usr/local/apache2/bin/apachectl stop. 9. cd ../php4-NN 10. ./configure --with-apxs2=/usr/local/apache2/bin/apxs 11. make 12. make install 13. cp php.ini-dist /usr/local/lib/php.ini Edit your php.ini file to set PHP options. If you prefer this file in another location, use --with-config-file-path=/path in step 10. 14. Edit your httpd.conf file and check that these lines are present: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php You can choose any extension you wish here. .php is simply the one we suggest. The path on the right hand side of the LoadModule statement must point to the path of the P...

Apache 2.0.50 php 4.3.8 Aix 5.2
I have apache 2 already installed and working. aixstar root /usr/httpd/bin > ./httpd -l Compiled in modules: core.c mod_access.c mod_auth.c mod_include.c mod_log_config.c mod_env.c mod_setenvif.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_cgi.c mod_negotiation.c mod_dir.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_so.c ../configure --with-apxs2=/usr/httpd/bin/apxs --with-oci8=/ora01/app/oracle/product/9.2.0.1.0 --enable-ftp --enable-sigchild --disable-libxml Works fine, without displaying any errors. m...

Web resources about - Rederecting DAV requests - on: Apache(2.0)/ mod_perl(2.0)/ perl(5.8)/ webDAV - comp.lang.perl.modules

Resources last updated: 3/24/2016 9:03:38 AM