[EMAIL PROTECTED] apache virtual host for subdomain
Hi! I have a problem with apache config I would like to configure the virtual host like this: www.domain1.com -> /www/domain1/ and www.subdomain1.domain1.com -> /www/domain1/index.php?page=dom1 www.subdomain2.domain1.com -> /www/domain1/index.php?page=dom2 . . . DocumentRoot /www/domain1 ServerName www.domain1.com DocumentRoot /www/domain1 ServerName www.subdomain1.domain1.com ??? Can anyone help me? Best regards! Zoltán Gyurasits
RE: [EMAIL PROTECTED] apache virtual host for subdomain
Hi Zoltan, If you want to make different virtual host for one ip address; you have to use ip aliasing so that we can configure as you want S.Santhanam, From: Gyurasits Zoltán [mailto:[EMAIL PROTECTED] Sent: 10 October 2006 01:03 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] apache virtual host for subdomain Hi! I have a problem with apache config I would like to configure the virtual host like this: www.domain1.com -> /www/domain1/ and www.subdomain1.domain1.com -> /www/domain1/index.php?page=dom1 www.subdomain2.domain1.com -> /www/domain1/index.php?page=dom2 . . . DocumentRoot /www/domain1 ServerName www.domain1.com DocumentRoot /www/domain1 ServerName www.subdomain1.domain1.com ??? Can anyone help me? Best regards! Zoltán Gyurasits Disclaimer:*** The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect.
RE: [EMAIL PROTECTED] not uploading at full speed
> -Original Message- > From: Chris Ackford [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 10, 2006 9:40 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] not uploading at full speed > > how comes the max my users can get is 14kb/s that 1 person > using the server i am currently using 2.2MB Broadband running > at about 237 KB/S upload look here for total specs > http://www.speedtest.net/result/49345028.png any reason why > my users can get max 14 kb/s ? Lots of reasons... very few would have anything to do with apache. To determine if apache *is* responsible, add localhost to the list of aliases and try downloading via localhost (obviously, you need to do this on the server). If it's fast, it ain't apache. Apache usually just hands the data on to TCP/IP to deliver and doesn't care how fast it ships... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > chris > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] multiple ScriptAliases
> -Original Message- > From: Robert Bram [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 10, 2006 2:04 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] multiple ScriptAliases > > > Hi All, > > Is there something wrong with having multiple ScriptAliases > as per below? No. You can have as many of these as you like. The only (obvious :-) limitation is that one alias can't lead to two directories (somebody actually wanted to do this once) > When I try this I cannot start Apache through the XP Services > Console - but neither do I see any errors in "C:\Program > Files\Apache Group\Apache2\logs\error.log" > > # Script Alias 1 > ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/" > > AllowOverride None > Options None > Order allow,deny > Allow from all > > > # Script Alias 2 > ScriptAlias /rob/ "H:/website/scripts/" I think your problems are more likely due to one of the drives being on a network and that apache (or the OS) is having trouble accessing it. Are you sure it's working? Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > AllowOverride None > Options None > Order allow,deny > Allow from all > > > When I use the Apache "restart" shortcut instead, I see the > following in the error.log: > [Tue Oct 10 10:02:00 2006] [notice] Parent: Received restart > signal -- Restarting the server. > [Tue Oct 10 10:02:00 2006] [notice] Child 3008: Exit event > signaled. Child process is ending. > [Tue Oct 10 10:02:00 2006] [warn] (OS 995)The I/O operation > has been aborted because of either a thread exit or an > application request. : winnt_accept: Asynchronous AcceptEx failed. > [Tue Oct 10 10:02:01 2006] [notice] Child 3008: Released the > start mutex > [Tue Oct 10 10:02:02 2006] [notice] Child 3008: Waiting for > 250 worker threads to exit. > [Tue Oct 10 10:02:02 2006] [notice] Child 3008: All worker > threads have exited. > [Tue Oct 10 10:02:02 2006] [notice] Child 3008: Child process > is exiting > > The server continues to serve html, but any time I access a > script, I get the following page (with nothing in the error log): > Server Error > The following error occurred: > [code=CANT_CONNECT] Could not connect because of networking > problems. Contact your system administrator. > Please contact the administrator. > > Kind Regards, > > Rob > :) > > > Robert Mark Bram > Portal Analyst Programmer > IT AD&S Portal Competency Centre - Development Team > Coles Myer Ltd 745 Springvale Road, Mulgrave > * 854 46767 / 0403 730 868 > * [EMAIL PROTECTED] > > > This email and any attachments may contain privileged and > confidential information and are intended for the named > addressee only. If you have received this e-mail in error, > please notify the sender and delete this e-mail immediately. > Any confidentiality, privilege or copyright is not waived or > lost because this e-mail has been sent to you in error. It is > your responsibility to check this e-mail and any attachments > for viruses. No warranty is made that this material is free > from computer virus or any other defect or error. Any > loss/damage incurred by using this material is not the > sender's responsibility. The sender's entire liability will > be limited to resupplying the material. > > - > The official User-To-User support forum of the Apache HTTP > Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] not uploading at full speed
ADSL upload speeds are in BITS/Sec so my 288KB/s is about 28.8K bytes per second, allowing 8bits per byte and overhead of the TCP/IP protocol packaging. An upload speed reported as 237 KB/s has a maximum transmission speed of roughly 23.7 thousand characters per second. You're getting about half of that, which might imply two transfers running concurrently or congestion in your local loop (your exchange in other words). On 10/10/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > -Original Message-> From: Chris Ackford [mailto:[EMAIL PROTECTED]]> Sent: Tuesday, October 10, 2006 9:40 PM> To: users@httpd.apache.org> Subject: [EMAIL PROTECTED] not uploading at full speed>> how comes the max my users can get is 14kb/s that 1 person> using the server i am currently using 2.2MB Broadband running > at about 237 KB/S upload look here for total specs> http://www.speedtest.net/result/49345028.png any reason why> my users can get max 14 kb/s ? Lots of reasons... very few would have anything to do with apache.To determine if apache *is* responsible, add localhost to the list ofaliases and try downloading via localhost (obviously, you need to do this on the server). If it's fast, it ain't apache.Apache usually just hands the data on to TCP/IP to deliver and doesn'tcare how fast it ships...Rgds,Owen BoyleDisclaimer: Any disclaimer attached to this message may be ignored. >> chris>This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. -The official User-To-User support forum of the Apache HTTP Server Project.See http://httpd.apache.org/userslist.html > for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]-- Steve Swift http://www.swiftys.org.uk
[EMAIL PROTECTED] Apache Outputfilters
I have been dealing with apache based reverse proxies for some time now and I have come to conclusion that application code will always have absolute links (ex. http://internal.servera.com/image.jpg or /image.jpg) and break the proxies. I am tired of having to argue with the code issues. So I am looking into outputfilters to help me with this. I have looked into the following outputfilters: mod_sar mod_proxy_html mod_ext_filter mod_perl2/ModProxyPerlHtml I am currently needing a commerical support solution and thus far only modules within the Apache distribution is supported. I know mod_ext_filter is meets this requirement, however I can see this being a major performance bottleneck. I hear some good things about mod_proxy_html but concerned with the dependency of the external library. Also no commercial support(Covalent). Mod_sar does not have library dependencies, but again no commercial support, that I have found. ModProxyPerlHtml, no commercial support and does not seem to be heavily used. OK, my question to the list is what experiences and suggestions can you guys/gals give on this? Also I have plans to use mod_deflate and mod_cache in conjunction so any issues? Your time and help is very much appreciated!
RE: [EMAIL PROTECTED] multiple ScriptAliases
Hi Owen, >> # Script Alias 1 >> ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/" >> >> AllowOverride None >> Options None >> Order allow,deny >> Allow from all >> >> >> # Script Alias 2 >> ScriptAlias /rob/ "H:/website/scripts/" > > I think your problems are more likely due to one of the drives being on > a network and that apache (or the OS) is having trouble accessing it. > Are you sure it's working? Thanks for this - even though I have that drive mapped to H, Apache didn't like it. It did like the "real" name for it though: //NASFILE02/rbram Kind Regards, Rob :) Robert Mark Bram Portal Analyst Programmer IT AD&S Portal Competency Centre - Development Team Coles Myer Ltd 745 Springvale Road, Mulgrave * 854 46767 / 0403 730 868 * [EMAIL PROTECTED] This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Running multiple instances under different user IDs
We want to run multiple instances of apache on different ports under different user IDs. One running as "root" for administrative purposes and other running under different id for user applications. Is it possible and if so what needs to be done.
RE: [EMAIL PROTECTED] Running multiple instances under different user IDs
> -Original Message- > From: Jain, Abhay K, INFOT [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 10, 2006 4:34 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Running multiple instances under > different user IDs > > We want to run multiple instances of apache on different ports > under different user IDs. One running as "root" for administrative > purposes and other running under different id for user applications. > Is it possible and if so what needs to be done. > The question is a little under-determined; apache usually runs as root (ie, the parent process). Then the parent spawns workers (daemons/threads) that run as the user defined by the "User" directive. It is these that handle the user requests.. So maybe that already answers your question. Otherwise, see the User and Group directives in the docs and note also that only root can bind to ports < 1024 so to run on port 80, you must start as root. Otherwise, Listen to a higher port, eg 8080. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache 2.0.58 on Debian Linux
Tom, On Oct 9, 2006, at 7:47 PM, Tom Laramee wrote: i need to have this users umask be 002 (it's currently 022)... meaning, for each of the 25 processes that apache forks off when it begins to run, the umask for these processes must be 002. i thought i could just update the users .bashrc file to set this, but In the usual configuration, the Apache HTTP Server is started from an init.d script at system boot. This script runs as the root user. The server itself then changes the uid of its children to www-data. This means that the www-data user does not start a shell, and will not execute any of its init files. how can i set the umask for the apache processes that run as user "www-data"? Try editing the init.d/apache2 script (it may have a slightly different name) and put an 'umask 022' statement before the server actually gets started. I assume that the server inherits this. Please let us know if that solves your problem. S. -- [EMAIL PROTECTED]http://www.temme.net/sander/ PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF smime.p7s Description: S/MIME cryptographic signature
[EMAIL PROTECTED] How to use DirectoryIndex when SetHandler is perl-script?
I want http://some.site/webcal or http://some.site/webcal/ to call http://some.site/webcal/webcal.pl DirectoryIndex webcal.pl does not work inside the Directory below. So I tried mod_rewrite. No luck. I never used it before. Any help? PerlRequire "E:/Open/webcal/cgi-bin/startup.pl" Alias /webcal "E:/Open/webcal/cgi-bin" RewriteEngine On RewriteRule ^/webcal$ /webcal/webcal.pl [R=permanent] AllowOverride All SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI Allow from all Júlio - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Enviroment variables in .conf?
Hi, is there any method/module that will allow me to use enviroment variables in httpd.conf? Specifically, I want Apache to run straight from a cd in Ms. Windows, and I require a temporal directory and other settings currently hard coded, like this: Listen localhost:8080 PidFile c:/temp/apache/apache_httpd.pid ErrorLog c:/temp/apache/apache_error.log CustomLog c:/temp/apache/apache_access.log common Alias /cgi_tmp/ c:/temp/apache/cgi_tmp/ but not everyone has the needed write permission or, alas, even a C: drive, so I would hope something like this is possible: autorun.bat: set APACHE_PORT=8080 if not exist %TEMP%\apache md %TEMP%\apache > NUL if not exist %TEMP%\apache\cgi_tmp md %TEMP%\apache\cgi_tmp > NUL start /min \Apache\bin\Apache.exe sleep 5 start http://localhost:%APACHE_PORT%/ httpd.conf: Listen localhost:%{ENV:APACHE_PORT} PidFile %{ENV:TEMP}/apache/apache_httpd.pid ErrorLog %{ENV:TEMP}/apache/apache_error.log CustomLog %{ENV:TEMP}/apache/apache_access.log common Alias /cgi_tmp/ %{ENV:TEMP}/apache/cgi_tmp/ PassEnv TEMP I know I could copy the conf files to the hard drive and replace the paths there but I'd prefer a cleaner solution. Also, for an extra point, I would like suggestions on how to check if a port is available for Apache prior to running it, from a .bat file. Thanks in advance. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] not uploading at full speed
oh ok what can i do about that ? - Original Message - From: Steve Swift To: users@httpd.apache.org Sent: Tuesday, October 10, 2006 11:30 AM Subject: Re: [EMAIL PROTECTED] not uploading at full speed ADSL upload speeds are in BITS/Sec so my 288KB/s is about 28.8K bytes per second, allowing 8bits per byte and overhead of the TCP/IP protocol packaging. An upload speed reported as 237 KB/s has a maximum transmission speed of roughly 23.7 thousand characters per second. You're getting about half of that, which might imply two transfers running concurrently or congestion in your local loop (your exchange in other words). On 10/10/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > -Original Message-> From: Chris Ackford [mailto:[EMAIL PROTECTED]]> Sent: Tuesday, October 10, 2006 9:40 PM> To: users@httpd.apache.org> Subject: [EMAIL PROTECTED] not uploading at full speed>> how comes the max my users can get is 14kb/s that 1 person> using the server i am currently using 2.2MB Broadband running > at about 237 KB/S upload look here for total specs> http://www.speedtest.net/result/49345028.png any reason why> my users can get max 14 kb/s ? Lots of reasons... very few would have anything to do with apache.To determine if apache *is* responsible, add localhost to the list ofaliases and try downloading via localhost (obviously, you need to do this on the server). If it's fast, it ain't apache.Apache usually just hands the data on to TCP/IP to deliver and doesn'tcare how fast it ships...Rgds,Owen BoyleDisclaimer: Any disclaimer attached to this message may be ignored. >> chris>This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. -The official User-To-User support forum of the Apache HTTP Server Project.See http://httpd.apache.org/userslist.html > for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]-- Steve Swift http://www.swiftys.org.uk
Re: [EMAIL PROTECTED] not uploading at full speed
if download across the network its well fast :( - Original Message - From: "Boyle Owen" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 10, 2006 10:46 AM Subject: RE: [EMAIL PROTECTED] not uploading at full speed -Original Message- From: Chris Ackford [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 9:40 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] not uploading at full speed how comes the max my users can get is 14kb/s that 1 person using the server i am currently using 2.2MB Broadband running at about 237 KB/S upload look here for total specs http://www.speedtest.net/result/49345028.png any reason why my users can get max 14 kb/s ? Lots of reasons... very few would have anything to do with apache. To determine if apache *is* responsible, add localhost to the list of aliases and try downloading via localhost (obviously, you need to do this on the server). If it's fast, it ain't apache. Apache usually just hands the data on to TCP/IP to deliver and doesn't care how fast it ships... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. chris This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] not uploading at full speed
Purchase an E1. On 10/11/06, Chris Ackford <[EMAIL PROTECTED]> wrote: oh ok what can i do about that ? - Original Message - From: Steve Swift To: users@httpd.apache.org Sent: Tuesday, October 10, 2006 11:30 AM Subject: Re: [EMAIL PROTECTED] not uploading at full speed ADSL upload speeds are in BITS/Sec so my 288KB/s is about 28.8K bytes per second, allowing 8bits per byte and overhead of the TCP/IP protocol packaging. An upload speed reported as 237 KB/s has a maximum transmission speed of roughly 23.7 thousand characters per second. You're getting about half of that, which might imply two transfers running concurrently or congestion in your local loop (your exchange in other words). On 10/10/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Chris Ackford [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, October 10, 2006 9:40 PM > > To: users@httpd.apache.org > > Subject: [EMAIL PROTECTED] not uploading at full speed > > > > how comes the max my users can get is 14kb/s that 1 person > > using the server i am currently using 2.2MB Broadband running > > at about 237 KB/S upload look here for total specs > > http://www.speedtest.net/result/49345028.png any reason why > > my users can get max 14 kb/s ? > > Lots of reasons... very few would have anything to do with apache. > > To determine if apache *is* responsible, add localhost to the list of > aliases and try downloading via localhost (obviously, you need to do > this on the server). If it's fast, it ain't apache. > > Apache usually just hands the data on to TCP/IP to deliver and doesn't > care how fast it ships... > > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > chris > > > > > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html > for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Steve Swift http://www.swiftys.org.uk - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] not uploading at full speed
Or investigate the availability/capability of ADSL MAX in your area. I believe that ADSL MAX significantly increases the upload speeds, but they're still not scintillating.If you're determined to run a webserver on the "wrong" end of a domestic ADSL connection then you are doomed to get relatively slow transfers sending data FROM your system. That's what the "A" in ADSL stands for - Asymmetrical; fast download and slow upload. You can get lines that work the other way around, and they are designed for running servers. You get a fast upload speed and a slow download speed.-- Steve Swift http://www.swiftys.org.uk
Re: [EMAIL PROTECTED] not uploading at full speed
whats that ? - Original Message - From: "Jeff Mohler" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 10, 2006 7:44 PM Subject: Re: [EMAIL PROTECTED] not uploading at full speed Purchase an E1. On 10/11/06, Chris Ackford <[EMAIL PROTECTED]> wrote: oh ok what can i do about that ? - Original Message - From: Steve Swift To: users@httpd.apache.org Sent: Tuesday, October 10, 2006 11:30 AM Subject: Re: [EMAIL PROTECTED] not uploading at full speed ADSL upload speeds are in BITS/Sec so my 288KB/s is about 28.8K bytes per second, allowing 8bits per byte and overhead of the TCP/IP protocol packaging. An upload speed reported as 237 KB/s has a maximum transmission speed of roughly 23.7 thousand characters per second. You're getting about half of that, which might imply two transfers running concurrently or congestion in your local loop (your exchange in other words). On 10/10/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Chris Ackford [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, October 10, 2006 9:40 PM > > To: users@httpd.apache.org > > Subject: [EMAIL PROTECTED] not uploading at full speed > > > > how comes the max my users can get is 14kb/s that 1 person > > using the server i am currently using 2.2MB Broadband running > > at about 237 KB/S upload look here for total specs > > http://www.speedtest.net/result/49345028.png any reason why > > my users can get max 14 kb/s ? > > Lots of reasons... very few would have anything to do with apache. > > To determine if apache *is* responsible, add localhost to the list of > aliases and try downloading via localhost (obviously, you need to do > this on the server). If it's fast, it ain't apache. > > Apache usually just hands the data on to TCP/IP to deliver and doesn't > care how fast it ships... > > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > chris > > > > > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. > > - > The official User-To-User support forum of the Apache HTTP Server > Project. > See http://httpd.apache.org/userslist.html > for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Steve Swift http://www.swiftys.org.uk - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] not uploading at full speed
cool also you can get 1:1 too but they are expencive lol - Original Message - From: Steve Swift To: users@httpd.apache.org Sent: Tuesday, October 10, 2006 8:17 PM Subject: Re: [EMAIL PROTECTED] not uploading at full speed Or investigate the availability/capability of ADSL MAX in your area. I believe that ADSL MAX significantly increases the upload speeds, but they're still not scintillating.If you're determined to run a webserver on the "wrong" end of a domestic ADSL connection then you are doomed to get relatively slow transfers sending data FROM your system. That's what the "A" in ADSL stands for - Asymmetrical; fast download and slow upload. You can get lines that work the other way around, and they are designed for running servers. You get a fast upload speed and a slow download speed.-- Steve Swifthttp://www.swiftys.org.uk
Re: [EMAIL PROTECTED] not uploading at full speed
Your european equal to a T1 in the US. On 10/11/06, Chris Ackford <[EMAIL PROTECTED]> wrote: whats that ? - Original Message - From: "Jeff Mohler" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 10, 2006 7:44 PM Subject: Re: [EMAIL PROTECTED] not uploading at full speed > Purchase an E1. > > On 10/11/06, Chris Ackford <[EMAIL PROTECTED]> wrote: >> >> >> oh ok what can i do about that ? >> >> - Original Message - >> From: Steve Swift >> To: users@httpd.apache.org >> >> Sent: Tuesday, October 10, 2006 11:30 AM >> Subject: Re: [EMAIL PROTECTED] not uploading at full speed >> >> ADSL upload speeds are in BITS/Sec so my 288KB/s is about 28.8K bytes per >> second, allowing 8bits per byte and overhead of the TCP/IP protocol >> packaging. >> An upload speed reported as 237 KB/s has a maximum transmission speed of >> roughly 23.7 thousand characters per second. You're getting about half >> of >> that, which might imply two transfers running concurrently or congestion >> in >> your local loop (your exchange in other words). >> >> >> On 10/10/06, Boyle Owen <[EMAIL PROTECTED]> wrote: >> > > -Original Message- >> > > From: Chris Ackford [mailto:[EMAIL PROTECTED] >> > > Sent: Tuesday, October 10, 2006 9:40 PM >> > > To: users@httpd.apache.org >> > > Subject: [EMAIL PROTECTED] not uploading at full speed >> > > >> > > how comes the max my users can get is 14kb/s that 1 person >> > > using the server i am currently using 2.2MB Broadband running >> > > at about 237 KB/S upload look here for total specs >> > > http://www.speedtest.net/result/49345028.png any reason >> why >> > > my users can get max 14 kb/s ? >> > >> > Lots of reasons... very few would have anything to do with apache. >> > >> > To determine if apache *is* responsible, add localhost to the list of >> > aliases and try downloading via localhost (obviously, you need to do >> > this on the server). If it's fast, it ain't apache. >> > >> > Apache usually just hands the data on to TCP/IP to deliver and doesn't >> > care how fast it ships... >> > >> > Rgds, >> > Owen Boyle >> > Disclaimer: Any disclaimer attached to this message may be ignored. >> > >> > > >> > > chris >> > > >> > >> > >> > This message is for the named person's use only. It may contain >> confidential, proprietary or legally privileged information. No >> confidentiality or privilege is waived or lost by any mistransmission. If >> you receive this message in error, please notify the sender urgently and >> then immediately delete the message and any copies of it from your >> system. >> Please also immediately destroy any hardcopies of the message. You must >> not, >> directly or indirectly, use, disclose, distribute, print, or copy any >> part >> of this message if you are not the intended recipient. The sender's >> company >> reserves the right to monitor all e-mail communications through their >> networks. Any views expressed in this message are those of the individual >> sender, except where the message states otherwise and the sender is >> authorised to state them to be the views of the sender's company. >> > >> > >> - >> > The official User-To-User support forum of the Apache HTTP Server >> > Project. >> > See http://httpd.apache.org/userslist.html > for >> more info. >> > To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> >" from the digest: >> [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> >> >> -- >> Steve Swift >> http://www.swiftys.org.uk > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] not uploading at full speed
a ok well as you can tell im running it from my house internet and im only 15 so how about a roung of allouse lol so rele i dont have any money to buy "E1" anyway i am upgrading to 8 MB/s soon do you think that will be better ? chris - Original Message - From: "Jeff Mohler" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 10, 2006 8:41 PM Subject: Re: [EMAIL PROTECTED] not uploading at full speed Your european equal to a T1 in the US. On 10/11/06, Chris Ackford <[EMAIL PROTECTED]> wrote: whats that ? - Original Message - From: "Jeff Mohler" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 10, 2006 7:44 PM Subject: Re: [EMAIL PROTECTED] not uploading at full speed > Purchase an E1. > > On 10/11/06, Chris Ackford <[EMAIL PROTECTED]> wrote: >> >> >> oh ok what can i do about that ? >> >> - Original Message - >> From: Steve Swift >> To: users@httpd.apache.org >> >> Sent: Tuesday, October 10, 2006 11:30 AM >> Subject: Re: [EMAIL PROTECTED] not uploading at full speed >> >> ADSL upload speeds are in BITS/Sec so my 288KB/s is about 28.8K bytes >> per >> second, allowing 8bits per byte and overhead of the TCP/IP protocol >> packaging. >> An upload speed reported as 237 KB/s has a maximum transmission speed >> of >> roughly 23.7 thousand characters per second. You're getting about >> half >> of >> that, which might imply two transfers running concurrently or >> congestion >> in >> your local loop (your exchange in other words). >> >> >> On 10/10/06, Boyle Owen <[EMAIL PROTECTED]> wrote: >> > > -Original Message- >> > > From: Chris Ackford [mailto:[EMAIL PROTECTED] >> > > Sent: Tuesday, October 10, 2006 9:40 PM >> > > To: users@httpd.apache.org >> > > Subject: [EMAIL PROTECTED] not uploading at full speed >> > > >> > > how comes the max my users can get is 14kb/s that 1 person >> > > using the server i am currently using 2.2MB Broadband running >> > > at about 237 KB/S upload look here for total specs >> > > http://www.speedtest.net/result/49345028.png any reason >> why >> > > my users can get max 14 kb/s ? >> > >> > Lots of reasons... very few would have anything to do with apache. >> > >> > To determine if apache *is* responsible, add localhost to the list >> > of >> > aliases and try downloading via localhost (obviously, you need to do >> > this on the server). If it's fast, it ain't apache. >> > >> > Apache usually just hands the data on to TCP/IP to deliver and >> > doesn't >> > care how fast it ships... >> > >> > Rgds, >> > Owen Boyle >> > Disclaimer: Any disclaimer attached to this message may be ignored. >> > >> > > >> > > chris >> > > >> > >> > >> > This message is for the named person's use only. It may contain >> confidential, proprietary or legally privileged information. No >> confidentiality or privilege is waived or lost by any mistransmission. >> If >> you receive this message in error, please notify the sender urgently >> and >> then immediately delete the message and any copies of it from your >> system. >> Please also immediately destroy any hardcopies of the message. You >> must >> not, >> directly or indirectly, use, disclose, distribute, print, or copy any >> part >> of this message if you are not the intended recipient. The sender's >> company >> reserves the right to monitor all e-mail communications through their >> networks. Any views expressed in this message are those of the >> individual >> sender, except where the message states otherwise and the sender is >> authorised to state them to be the views of the sender's company. >> > >> > >> - >> > The official User-To-User support forum of the Apache HTTP Server >> > Project. >> > See http://httpd.apache.org/userslist.html > for >> more info. >> > To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> >" from the digest: >> [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> >> >> -- >> Steve Swift >> http://www.swiftys.org.uk > > - > The official User-To-User support forum of the Apache HTTP Server > Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from
Re: [EMAIL PROTECTED] not uploading at full speed
Depends what your upload speed is..and like all networking scenarios where nothing is guaranteed, "we'll see" On 10/11/06, Chris Ackford <[EMAIL PROTECTED]> wrote: a ok well as you can tell im running it from my house internet and im only 15 so how about a roung of allouse lol so rele i dont have any money to buy "E1" anyway i am upgrading to 8 MB/s soon do you think that will be better ? chris - Original Message - From: "Jeff Mohler" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 10, 2006 8:41 PM Subject: Re: [EMAIL PROTECTED] not uploading at full speed > Your european equal to a T1 in the US. > > > On 10/11/06, Chris Ackford <[EMAIL PROTECTED]> wrote: >> whats that ? >> - Original Message - >> From: "Jeff Mohler" <[EMAIL PROTECTED]> >> To: >> Sent: Tuesday, October 10, 2006 7:44 PM >> Subject: Re: [EMAIL PROTECTED] not uploading at full speed >> >> >> > Purchase an E1. >> > >> > On 10/11/06, Chris Ackford <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> oh ok what can i do about that ? >> >> >> >> - Original Message - >> >> From: Steve Swift >> >> To: users@httpd.apache.org >> >> >> >> Sent: Tuesday, October 10, 2006 11:30 AM >> >> Subject: Re: [EMAIL PROTECTED] not uploading at full speed >> >> >> >> ADSL upload speeds are in BITS/Sec so my 288KB/s is about 28.8K bytes >> >> per >> >> second, allowing 8bits per byte and overhead of the TCP/IP protocol >> >> packaging. >> >> An upload speed reported as 237 KB/s has a maximum transmission speed >> >> of >> >> roughly 23.7 thousand characters per second. You're getting about >> >> half >> >> of >> >> that, which might imply two transfers running concurrently or >> >> congestion >> >> in >> >> your local loop (your exchange in other words). >> >> >> >> >> >> On 10/10/06, Boyle Owen <[EMAIL PROTECTED]> wrote: >> >> > > -Original Message- >> >> > > From: Chris Ackford [mailto:[EMAIL PROTECTED] >> >> > > Sent: Tuesday, October 10, 2006 9:40 PM >> >> > > To: users@httpd.apache.org >> >> > > Subject: [EMAIL PROTECTED] not uploading at full speed >> >> > > >> >> > > how comes the max my users can get is 14kb/s that 1 person >> >> > > using the server i am currently using 2.2MB Broadband running >> >> > > at about 237 KB/S upload look here for total specs >> >> > > http://www.speedtest.net/result/49345028.png any reason >> >> why >> >> > > my users can get max 14 kb/s ? >> >> > >> >> > Lots of reasons... very few would have anything to do with apache. >> >> > >> >> > To determine if apache *is* responsible, add localhost to the list >> >> > of >> >> > aliases and try downloading via localhost (obviously, you need to do >> >> > this on the server). If it's fast, it ain't apache. >> >> > >> >> > Apache usually just hands the data on to TCP/IP to deliver and >> >> > doesn't >> >> > care how fast it ships... >> >> > >> >> > Rgds, >> >> > Owen Boyle >> >> > Disclaimer: Any disclaimer attached to this message may be ignored. >> >> > >> >> > > >> >> > > chris >> >> > > >> >> > >> >> > >> >> > This message is for the named person's use only. It may contain >> >> confidential, proprietary or legally privileged information. No >> >> confidentiality or privilege is waived or lost by any mistransmission. >> >> If >> >> you receive this message in error, please notify the sender urgently >> >> and >> >> then immediately delete the message and any copies of it from your >> >> system. >> >> Please also immediately destroy any hardcopies of the message. You >> >> must >> >> not, >> >> directly or indirectly, use, disclose, distribute, print, or copy any >> >> part >> >> of this message if you are not the intended recipient. The sender's >> >> company >> >> reserves the right to monitor all e-mail communications through their >> >> networks. Any views expressed in this message are those of the >> >> individual >> >> sender, except where the message states otherwise and the sender is >> >> authorised to state them to be the views of the sender's company. >> >> > >> >> > >> >> - >> >> > The official User-To-User support forum of the Apache HTTP Server >> >> > Project. >> >> > See http://httpd.apache.org/userslist.html > for >> >> more info. >> >> > To unsubscribe, e-mail: >> >> [EMAIL PROTECTED] >> >> >" from the digest: >> >> [EMAIL PROTECTED] >> >> > For additional commands, e-mail: [EMAIL PROTECTED] >> >> > >> >> > >> >> >> >> >> >> >> >> -- >> >> Steve Swift >> >> http://www.swiftys.org.uk >> > >> > - >> > The official User-To-User support forum of the Apache HTTP Server >> > Project. >> > See http://httpd.apache.org/userslist.html> for more info. >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > " from the digest: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> >> >> - >> The official User-T
Re: [EMAIL PROTECTED] not uploading at full speed
At 01:40 PM 10/11/2006, you wrote: a ok well as you can tell im running it from my house internet and im only 15 so how about a roung of allouse lol so rele i dont have any money to buy "E1" anyway i am upgrading to 8 MB/s soon do you think that will be better ? The download doesn't matter. It's your upload you need to look at. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Enviroment variables in .conf?
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Yusuf > Sent: Tuesday, October 10, 2006 7:29 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Enviroment variables in .conf? > > Hi, > > is there any method/module that will allow me to use enviroment > variables in httpd.conf? Not that I know of - basically, the config file is just a flat text file that apache reads at runtime and loads a structure with key-value pairs. There is no mechanism for variable substitution. An alternative that's widely used is to write a perl-script that generates the config and to run this script immediately before starting apache (eg, hack "apachectl" and execute the script right at the top). You can then get the script to read any variable you like and interpose it in the config. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > Specifically, I want Apache to run straight from a cd in Ms. Windows, > and I require a temporal directory and other settings currently hard > coded, like this: > > Listen localhost:8080 > PidFile c:/temp/apache/apache_httpd.pid > ErrorLog c:/temp/apache/apache_error.log > CustomLog c:/temp/apache/apache_access.log common > Alias /cgi_tmp/ c:/temp/apache/cgi_tmp/ > > but not everyone has the needed write permission or, alas, even a C: > drive, so I would hope something like this is possible: > > autorun.bat: > set APACHE_PORT=8080 > > if not exist %TEMP%\apache md %TEMP%\apache > NUL > if not exist %TEMP%\apache\cgi_tmp md %TEMP%\apache\cgi_tmp > NUL > > start /min \Apache\bin\Apache.exe > sleep 5 > > start http://localhost:%APACHE_PORT%/ > > > httpd.conf: > Listen localhost:%{ENV:APACHE_PORT} > PidFile %{ENV:TEMP}/apache/apache_httpd.pid > ErrorLog %{ENV:TEMP}/apache/apache_error.log > CustomLog %{ENV:TEMP}/apache/apache_access.log common > Alias /cgi_tmp/ %{ENV:TEMP}/apache/cgi_tmp/ > PassEnv TEMP > > I know I could copy the conf files to the hard drive and replace the > paths there but I'd prefer a cleaner solution. > > Also, for an extra point, I would like suggestions on how to > check if a > port is available for Apache prior to running it, from a .bat file. > > Thanks in advance. > > > - > The official User-To-User support forum of the Apache HTTP > Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] virtual interfaces?
Hi, Is Apache 2.2.0 able to listen to virtual interfaces? Our system admin created a virtual interface (under Linux) and I can ping it successfully, and I have created a virtualhost that listens to it, but the web server doesn't respond if I try to access it from the same computer or from another. Thank you. Octavian - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] How to use DirectoryIndex when SetHandler is perl-script?
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Júlio Maranhão > Sent: Tuesday, October 10, 2006 5:24 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] How to use DirectoryIndex when > SetHandler is perl-script? > > I want > http://some.site/webcal > or > http://some.site/webcal/ > to call > http://some.site/webcal/webcal.pl > > DirectoryIndex webcal.pl does not work inside the Directory > below. This is because the ScriptAlias directive is telling apache that the directory contains scripts. So apache never goes near the directory listing mechanisms and so never sees any DirectoryIndex... Before plunging into mod-rewrite, you might like to see if a simpler solution (at the cost of a new directory) would work for you; - make "webcal" a plain directory (ie, not ScriptAlias) - make a new dummy directory containing the program and ScritpAlias this - set the DirectoryIndex of webcal to point to the program in the dummy dir Eg, ScriptAlias /dummy-cgi /path/to/dummy-cgi DirectoryIndex /dummy-cgi/webcal.pl ScriptAlias /dummy-cgi /path/to/dummy-cgi now http://some.site/webcal/ will go into the /path/to/webcal directory, find the DirectoryIndex and execute a request for /dummy-cgi/webcal.pl. This will follow the ScriptAlias and execute /path/to/dummy-cgi/webcal.pl. NOte that the browser will keep the location set to http://some.site/webcal/ so no-one will be any the wiser and "dummy-cgi" won't appear on the web. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > So I tried > mod_rewrite. No luck. I never used it before. Any help? > > PerlRequire "E:/Open/webcal/cgi-bin/startup.pl" > Alias /webcal "E:/Open/webcal/cgi-bin" > RewriteEngine On > RewriteRule ^/webcal$ /webcal/webcal.pl [R=permanent] > > AllowOverride All > SetHandler perl-script > PerlResponseHandler ModPerl::Registry > PerlOptions +ParseHeaders > Options +ExecCGI > Allow from all > > > Júlio > > > - > The official User-To-User support forum of the Apache HTTP > Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]