directory listing Verzeichnisse mit .htaccess-Schutz

2009-03-26 Thread Michael Ludwig
Hallo Leute, habe mir mein directory listing über mod_autoindex so angepasst, dass es hübsch ausschaut. Läuft auch alles super. Einziges Problem: Unterverzeichnisse mit .htaccess-Schutz werden leider nicht angezeigt. Wie kann ich das ändern? Ich möchte gerne auch die geschützten Verzeichnisse

[us...@httpd] Sending Response without reading whole request content

2009-03-26 Thread Anuradha
Hi ,  One my of requirement demands me to read only initial data and send the response.   Is there a way I can send the response without reading whole request content data?   For example if I am uploading a file of 2 GB in multi-part form data and I want to read the initial contents say 2KB

Re: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-26 Thread Florent Georges
Krist van Besien wrote: Ad the following in your VirtualHost block: Proxy /* Order deny, allow Allow from All /Proxy It seems that was the answer indeed, but it worked only when I used * instead of /*. So everything's fine now, thanks again to both of you! Regards, -- Florent

Re: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-26 Thread Krist van Besien
On Thu, Mar 26, 2009 at 9:57 AM, J. Bakshi joyd...@infoservices.in wrote: So I'm looking a way to prevent my site to be grabbed. Could any one suggest any measure in apache or .htaccess ? Don't connect your site to the internet. That will prevent is from being grabbed. Krist --

Re: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-26 Thread Brian Mearns
On Thu, Mar 26, 2009 at 6:20 AM, Richard Peacock richard.peac...@minorplanet.com wrote: Lol, good answer Krist! Although many people have tried to prevent things like right-click and grabbing of files from their websites, they are all bypassable in one way or another ;) -Original

[us...@httpd] DirectoryIndex

2009-03-26 Thread Andrew Hole
Hi guys! There are two files in DocumentRoot: index.php and index2.php The following directive is configured in httpd.conf Location / DirectoryIndex index.php /Location There is the following instruction inside index.php : window.location =localHost+/index2.php?idLang=1; When I invoke

AW: [us...@httpd] Mangled my Virtual Hosts

2009-03-26 Thread Christian Buczek
Von: Joseph Morgan [mailto:josephmmor...@hotmail.com] Gesendet: Donnerstag, 26. März 2009 03:21 An: users@httpd.apache.org Betreff: [us...@httpd] Mangled my Virtual Hosts I have somehow mangled my virtual hosts.. or so I think. I have two web sites http://www.ProSportsResumes.com, and

Re: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-26 Thread Octavian Rasnita
Password-protect it, and don't give the password to anyone. :-) If someone sees a page from your site, that page was already downloaded to the visitor's computer, and a visitor can create a program that download all the pages which he can access using a browser. Octavian - Original

Re: [us...@httpd] DirectoryIndex

2009-03-26 Thread Matus UHLAR - fantomas
On 26.03.09 10:46, Andrew Hole wrote: There are two files in DocumentRoot: index.php and index2.php The following directive is configured in httpd.conf Location / DirectoryIndex index.php /Location There is the following instruction inside index.php : window.location

RE: [us...@httpd] DirectoryIndex

2009-03-26 Thread Richard Peacock
Hello Couldn't you do a $_GET or $_POST in your PHP code to check for idLang and if nothing was specified, default the variable to 1? For example: switch ($_SERVER['REQUEST_METHOD']) { case GET: $idLang = $_GET['idLang']; break; case POST: $idLang = $_POST['idLang'];

Re: [us...@httpd] Mangled my Virtual Hosts

2009-03-26 Thread Eric Covener
On Thu, Mar 26, 2009 at 5:33 AM, Christian Buczek christ...@buczek.de wrote: NameVirtualHost 127.0.0.1:* VirtualHost *:80 Careful, you need to have a literal match for these pair of arguments to get things to work properly. -- Eric Covener cove...@gmail.com

[us...@httpd] Resource Centric Authz

2009-03-26 Thread Ben Davies
Hi Everybody! I wonder if someone can help me? I'm interested in restricting access to certain resource based on the following criteria: The users name Or the users group Standard fare so far. I'm using mod_authn_dbd to authenticate the user from my MySQL database. For

[us...@httpd] Log HTTP traffic (whole requests and responses)

2009-03-26 Thread Florent Georges
Hi, I am looking for a way to log all the HTTP traffic, as it appears on the wire, including headers and entities content (well, it can be in another format, but I'd like to have those info.) I looked at mod_log_config[1] and mod_logio[2], but it seems this is not supported. Quite

Re: [us...@httpd] Mangled my Virtual Hosts

2009-03-26 Thread Joseph Morgan
That's one of the mysteries... one of the first things I checked... nothing in my HTML does it but ProSportsResumes is the first listing in the virtual hosts... so I'm thinking it may have a relationship Krist van Besien wrote: On Thu, Mar 26, 2009 at 3:21 AM, Joseph Morgan wrote:

Re: AW: [us...@httpd] Mangled my Virtual Hosts

2009-03-26 Thread Joseph Morgan
OK... will try that when I get back to the office... Will this IP need to be in my hosts file as well? That is, instead of (or in addition to): 127.0.0.1 localhost 127.0.0.1 www.VideoFortWorth.com 127.0.0.1 www.ProSportsResumes.com I should have: 127.0.0.1 localhost 192.168.x.x

Re: [us...@httpd] Mangled my Virtual Hosts

2009-03-26 Thread Joseph Morgan
I tried just the *:80... but that didn't work at all... no web sites worked after that... Only 127.0.0.1:* seems to work at the moment... but I'm going to try to use my actual network assigned IP as suggested by Christial Buczek... I think I have it all matching... but will check to be sure.

[us...@httpd] Re: Log HTTP traffic (whole requests and responses)

2009-03-26 Thread Dan Poirier
Florent Georges li...@fgeorges.org writes: Hi, I am looking for a way to log all the HTTP traffic, as it appears on the wire, including headers and entities content (well, it can be in another format, but I'd like to have those info.) I looked at mod_log_config[1] and mod_logio[2], but

Re: [us...@httpd] Mangled my Virtual Hosts

2009-03-26 Thread Justin Pasher
Joseph Morgan wrote: I have somehow mangled my virtual hosts.. or so I think. I have two web sites http://www.ProSportsResumes.com, and http://www.VideoFortWorth.com, among others hosted on the same machine. If you visit http://www.VideoFortWorth.com, you'll see ProSportsResumes in the title,

[us...@httpd] MPM

2009-03-26 Thread Andrew Hole
By default the following instructions are commented: # Server-pool management (MPM specific) #Include conf/extra/httpd-mpm.conf In this case MPM is enabled ? Which are the default values? By the way: The number of active workers on Apache is exactly the same number of active threads in Tomcat?

[us...@httpd] Re: Apache 2.2 mod_include mis-interpreting back-references

2009-03-26 Thread hugh williams
Hi; I posted this 5 months ago, and got no response. So I'm going to act insanely (insanity: doing the same thing over and expecting different results) and repost in hopes that some different readers are here. Why is Apache 2.2.x throwing these warnings? I have upgraded to 2.2.9 since

Re: AW: [us...@httpd] Mangled my Virtual Hosts

2009-03-26 Thread Christian Buczek
Christian Buczek wrote: *Von:* Joseph Morgan [mailto:josephmmor...@hotmail.com] *Gesendet:* Donnerstag, 26. März 2009 03:21 *An:* users@httpd.apache.org *Betreff:* [us...@httpd] Mangled my Virtual Hosts I have somehow mangled my virtual hosts.. or so I think. I have two web sites

Re: [us...@httpd] Mangled my Virtual Hosts

2009-03-26 Thread Christian Buczek
On Thu, 26 Mar 2009 09:58:51 -0500, Justin Pasher just...@newmediagateway.com wrote: Joseph Morgan wrote: I have somehow mangled my virtual hosts.. or so I think. I have two web sites http://www.ProSportsResumes.com, and http://www.VideoFortWorth.com, among others hosted on the same machine.

Re: [us...@httpd] Re: Log HTTP traffic (whole requests and responses)

2009-03-26 Thread Florent Georges
Dan Poirier wrote: It might be that since wireshark does this so well, nobody's felt the need to add it to Apache. Have you looked at wireshark? Yes, I used it a few times. Actually I haven't thought to use it on server-side, but someone else suggested that off-list. The problem is that

Re: [us...@httpd] Mangled my Virtual Hosts

2009-03-26 Thread Tom Evans
On Thu, 2009-03-26 at 09:28 -0500, Joseph Morgan wrote: I tried just the *:80... but that didn't work at all... no web sites worked after that... You should have these directives in your conf file: Listen 80 NameVirtualHost * VirtualHost * ServerName www.prosportsresumes.com # all other

Re: [us...@httpd] MPM

2009-03-26 Thread Tom Evans
On Thu, 2009-03-26 at 15:40 +, Andrew Hole wrote: By default the following instructions are commented: # Server-pool management (MPM specific) #Include conf/extra/httpd-mpm.conf In this case MPM is enabled ? Which are the default values? The MPM is configured when the server is

Re: [us...@httpd] Sending Response without reading whole request content

2009-03-26 Thread Jonathan Zuckerman
So far as I know you would have to use ajax to get it to work the way you want. Isn't the user interested in knowing whether their upload was a success? On Wed, Mar 25, 2009 at 11:26 PM, Anuradha ds_...@yahoo.co.in wrote: Hi ,  One my of requirement demands me to read only initial data and

Re: [us...@httpd] Sending Response without reading whole request content

2009-03-26 Thread Jonathan Zuckerman
Actually I take that back, this is never going to work. If the user doesn't remain on the page sending the data until it's all sent, then it will never work. There is no web server in the world that can do what you want. On Thu, Mar 26, 2009 at 10:33 AM, Jonathan Zuckerman j.zucker...@gmail.com

Re: [us...@httpd] Mangled my Virtual Hosts

2009-03-26 Thread Joseph Morgan
Yep... my email client must have stripped them Justin Pasher wrote: Joseph Morgan wrote: I have somehow mangled my virtual hosts.. or so I think. I have two web sites http://www.ProSportsResumes.com, and http://www.VideoFortWorth.com, among others hosted on the same machine. If you visit

[us...@httpd] Re: Apache 2.2 mod_include mis-interpreting back-references

2009-03-26 Thread Dan Poirier
hugh williams hu...@soco.agilent.com writes: !--#exec cmd=echo $DOCUMENT_NAME | perl -e 'while () {s/(\w+)_(\w+)_[_abt]{3}\..*/sprintf \b%s Option %s Hyperlinks\/b\, uc $1,uc $2/e;print;}' -- This works fine in both Apache 1.3.33 and 2.2.3; however 2.2.3 also send the following error

Re: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-26 Thread Jonathan Zuckerman
Use a one-time pad. Every URL to an mp3 is not an actual resource, it's a link that is generated when the user indicates a desire to download the mp3, and the mp3 is then copied from a protected place to a public place. After that link is accessed one time, a script is run which outputs the mp3

[us...@httpd] Piped log bottleneck

2009-03-26 Thread New User
We are witnessing a potential bottleneck using piped logging. Each web server handles relative large amount of concurrent connections. It is running on CentOS 5.x, using worker MPM. We use piped log to cronolog. We are discovering when the web server reach ~6K concurrent connections (our

[us...@httpd] Question about no case on RewriteRule

2009-03-26 Thread Chuck.Payne
Guys, I have a strange issue going on, I have several rewrite rules that are set up like this RewriteRule ^/gototheweb http://www.mydomain.com/some/on/mysite/theweb [NC,R=301] RewriteCond %{REQUEST_URI} !^/gototheweb The problem I got is that when users try to enter in GOTOTHEWEB, they

[us...@httpd] mod_vhost_alias and DOCUMENT_ROOT

2009-03-26 Thread Lampa
Hello, on my one server i've compiled (first tried from packages) httpd 2.2.11 (then tried 2.2.6). With following configuration: ServerRoot /usr/local/httpd-2.2.6 Listen 8080 LoadModule php5_module modules/libphp5.so User www-data Group www-data HostnameLookups On Timeout 300 KeepAlive On

Re: [us...@httpd] mod_vhost_alias and DOCUMENT_ROOT

2009-03-26 Thread Eric Covener
On Thu, Mar 26, 2009 at 3:00 PM, Lampa lamp...@gmail.com wrote:       VirtualDocumentRoot /var/www/domain.tld/home/%-3 Everything woks ok (installed mod PHP). Excpet that variable DOCUMENT_ROOT ($_SERVER['DOCUMENT_ROOT'] in php) points to /htdocs. VirtualDocumentRoot causes files to be

Re: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-26 Thread Octavian Râsnita
Ok, and what happends if not a browser requests that mp3 file, but a custom made program that download all the files? Octavian - Original Message - From: Jonathan Zuckerman j.zucker...@gmail.com To: users@httpd.apache.org Sent: Thursday, March 26, 2009 8:06 PM Subject: Re:

[us...@httpd] directory listing subdirectories with .htaccess

2009-03-26 Thread Michael Ludwig
Hi! I'm experiencing the following problem: I changed the lookfeel of the directory listings with mod_autoindex. Works great so far. But the directory listing doen't list the subdirectories which are secured with .htaccess-Files. Is there a possibility to change this behaviour?? Best wishes

Re: [us...@httpd] directory listing subdirectories with .htaccess

2009-03-26 Thread Frank Gingras
Michael, Try IndexOptions ShowForbidden (2.2.x) Frank. Michael Ludwig wrote: Hi! I'm experiencing the following problem: I changed the lookfeel of the directory listings with mod_autoindex. Works great so far. But the directory listing doen't list the subdirectories which are secured with

Re: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-26 Thread Brian Mearns
On Thu, Mar 26, 2009 at 2:41 PM, Octavian Râsnita orasn...@gmail.com wrote: Ok, and what happends if not a browser requests that mp3 file, but a custom made program that download all the files? Octavian - Original Message - From: Jonathan Zuckerman j.zucker...@gmail.com To:

Re: [us...@httpd] directory listing subdirectories with .htaccess

2009-03-26 Thread Michael Ludwig
Hi Frank, thank you very much, That's it! ;-) Michael 2009/3/26 Frank Gingras francois.ging...@gmail.com: Michael, Try IndexOptions ShowForbidden (2.2.x) Frank. Michael Ludwig wrote: Hi! I'm experiencing the following problem: I changed the lookfeel of the directory listings with

[us...@httpd] Limit resources per virtual host

2009-03-26 Thread Jurgen Lamsens
Hi all, I'm having an annoying and rather complex problem, and couldn't find any decent answer crawling the net for hours, visiting forums, reading FAQs/official documentation, including the very interesting article at