[us...@httpd] Allow directive - limitation?

2009-08-13 Thread Stephen Vaughan
Hi, Is there a limitation on the number of characters you can have per line for 'Allow from'? We a couple of hundred ip addresses listed, however we seem to have hit a limit whereby any new ip addresses added to the line are being recognised as a new line, and so apache is failing to reload. Do w

Re: [us...@httpd] How to fool a coockie with RewriteEngine

2009-08-13 Thread André Warnier
De Gang Thierry wrote: Well, ravenclans.com and ravenforums.com are both on the same host and using the same main directories, yet each has their own directory to work with. Thus this doesn’t make a security breach for me. Sorry, but that is pretty much irrelevant, since the web servers and the

RE: [us...@httpd] Using Rewrite

2009-08-13 Thread Ya Netu
i guess thta what i have to do tnx > Date: Thu, 13 Aug 2009 14:50:06 -0400 > From: francois.ging...@gmail.com > To: users@httpd.apache.org > Subject: Re: [us...@httpd] Using Rewrite > > In that case, you should replicate the site on a local development > server, and test at your leisure there

Re: [us...@httpd] Using Rewrite

2009-08-13 Thread Frank Gingras
In that case, you should replicate the site on a local development server, and test at your leisure there. Frank. Ya Netu wrote: i guess that is impossible under shared hosting :( > Date: Thu, 13 Aug 2009 14:38:52 -0400 > From: francois.ging...@gmail.com > To: users@httpd.apache.org >

RE: [us...@httpd] Using Rewrite

2009-08-13 Thread Ya Netu
i guess that is impossible under shared hosting :( > Date: Thu, 13 Aug 2009 14:38:52 -0400 > From: francois.ging...@gmail.com > To: users@httpd.apache.org > Subject: Re: [us...@httpd] Using Rewrite > > You would place it in your config file, in your > section. > > If you don't have any virt

Re: [us...@httpd] Using Rewrite

2009-08-13 Thread Frank Gingras
You would place it in your config file, in your section. If you don't have any virtual host, the main config file will do. Frank. Ya Netu wrote: damn, ok then how do i actiavte it? > Date: Thu, 13 Aug 2009 14:35:33 -0400 > From: francois.ging...@gmail.com > To: users@httpd.apache.or

RE: [us...@httpd] Using Rewrite

2009-08-13 Thread Ya Netu
damn, ok then how do i actiavte it? > Date: Thu, 13 Aug 2009 14:35:33 -0400 > From: francois.ging...@gmail.com > To: users@httpd.apache.org > Subject: Re: [us...@httpd] Using Rewrite > > Ya, > > You can't use RewriteLog in .htaccess. > > Frank. > > Ya Netu wrote: > > same here, > > when i wa

Re: [us...@httpd] Using Rewrite

2009-08-13 Thread Frank Gingras
Ya, You can't use RewriteLog in .htaccess. Frank. Ya Netu wrote: same here, when i was trying to add this line: RewriteLog "AA/rewrite.log" To trace why my rewrite did not work, I got 500 Internal server error. Any ideas what could be causing it? I tried adding leading slash but no luck..

RE: [us...@httpd] Using Rewrite

2009-08-13 Thread Ya Netu
same here, when i was trying to add this line: RewriteLog "AA/rewrite.log" To trace why my rewrite did not work, I got 500 Internal server error. Any ideas what could be causing it? I tried adding leading slash but no luck... the ath is relative to location of my .htaccess file. TNX f

RE: [us...@httpd] How to fool a coockie with RewriteEngine

2009-08-13 Thread De Gang Thierry
Well, ravenclans.com and ravenforums.com are both on the same host and using the same main directories, yet each has their own directory to work with. Thus this doesn’t make a security breach for me. Example: Main directory: /home/content/d/g/t/dgtnt/html/rgn_main/ Ravenforums.com: /home/content/d

Re: [us...@httpd] Using Rewrite

2009-08-13 Thread Alexis
Bob thank you, but i receiving a new error message the http 500 and I do not have access to httpd.conf and also do not know how. 2009/8/12 Bob Ionescu > 2009/8/12 Alexis : > > ok, then the code would be > > RewriteCond %{HTTP_HOST} ^files\.example\.com$ [NC] RewriteRule ^(.*)$ > > /files/public$

Re: [us...@httpd] Defining mandatory parameters for Apache modules

2009-08-13 Thread André Warnier
Raj Iyer wrote: Hello, The Apache web server on start up iterates through the list of configuration directives and invokes the associated module handler for each directive. For e.g. if module A has handlers for directives D1 and D2, then the httpd process on start up will invoke the handlers

Re: [us...@httpd] How to fool a coockie with RewriteEngine

2009-08-13 Thread André Warnier
De Gang Thierry wrote: Hi all, Is there a way in RewriteEngine to a fool a coockie to read the contents of another domain whilst you're on another. etc.. I have not really considered the details of what you want to do, but in the principle I would say it cannot be done, for security reas

[us...@httpd] mod_jk with https confiuration

2009-08-13 Thread ravindra
Hi All, We have same web application in two tomcats(6), we are load balancing through Apache2.2 using mod_jk.Now I want to access my application securely, i.e, browser to apache I want to accept only https and from apache to tomcats http. Something like this, here apache and tomcat

Re: [us...@httpd] Defining mandatory parameters for Apache modules

2009-08-13 Thread Dan Poirier
On 08/13/2009 06:59 AM, Raj Iyer wrote: However, what is the best way to find out missing mandatory parameters from within the module. For e.g. if a directive D3 is mandatory for the module to work, then how can the module on initialization guarantee that this configuration parameter is prov

Re: [us...@httpd] Requiring authentication for the whole server

2009-08-13 Thread Dan Poirier
On 08/12/2009 07:49 PM, Igor Cicimov wrote: As far as I know the Location is used for file system that doesn't reside on the local server (e.g. proxy server) and Directory in case you want to protect file system that is local to the server. No, Location refers to the request's URL while Direct

Re: [us...@httpd] How to fool a coockie with RewriteEngine

2009-08-13 Thread Krist van Besien
On Thu, Aug 13, 2009 at 10:02 AM, De Gang Thierry wrote: > I believe that this can be done with RewriteEngine. Are you certain you are even getting the cookie? Browses only send cookies back to the domain send for the cookie, so if ravenforums.com sets cookies with ravensforums.com as domain your

[us...@httpd] Defining mandatory parameters for Apache modules

2009-08-13 Thread Raj Iyer
Hello, The Apache web server on start up iterates through the list of configuration directives and invokes the associated module handler for each directive. For e.g. if module A has handlers for directives D1 and D2, then the httpd process on start up will invoke the handlers within modul

[us...@httpd] URL encoding problem with mod_negotiation

2009-08-13 Thread Mike Haber
Hi, I have a problem with mod_negotiation. Users are arriving at my server from a referring page containing a query string. Starting with ?. The line Please consider informing the owner of the referring page about the broken link. Contains a link to the referring page, but the instead of www.blah

[us...@httpd] How to fool a coockie with RewriteEngine

2009-08-13 Thread De Gang Thierry
Hi all, Is there a way in RewriteEngine to a fool a coockie to read the contents of another domain whilst you're on another. My intentions are: Currently I've got in the .htaccess RewriteCond %{HTTP_HOST} ^www\.[^.]+\.ravenclans\.com$ RewriteRule ^(.+)

Re: [us...@httpd] Requiring authentication for the whole server

2009-08-13 Thread Nico De Ranter
The folders I'm publishing are not coming from a single source tree on the filesystem. For instance /www/htdocs is the root of my webserver while Trac is installed in /raid/trac and the wiki comes from /raid/wiki. My understanding is that if I'm using Directory I need to secure a common root on th