[PHP] Re: htaccess

2013-07-08 Thread Tim Streater
On 07 Jul 2013 at 21:22, Tedd Sperling t...@sperling.com wrote: Confirmed. Those two lines cause the problem. However, commenting out those lines causes other problems. Are there similar statements to these: AddType application/x-httpd-php .php .htm .html This one tells apache to

[PHP] Re: htaccess question

2013-04-10 Thread James Moe
On 04/09/2013 11:07 AM, Al wrote: I know it's not a php question, but I can't readily find the answer elsewhere. Try http://www.apache.org/foundation/mailinglists.html. -- James Moe jmm-list at sohnen-moe dot com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: htaccess question

2011-04-26 Thread David Robley
Al wrote: I want to restrict access to all files except one on my site and in parent dir. Thought this should work; but it doesn't. Files * Order Deny,Allow Deny from all Allow from xx.36.2.215 /Files xx.36.2.215 is actual value IP This file makes a captcha image and is called with

[PHP] Re: htaccess question

2011-04-26 Thread Al
On 4/26/2011 5:54 AM, David Robley wrote: Al wrote: I want to restrict access to all files except one on my site and in parent dir. Thought this should work; but it doesn't. Files * Order Deny,Allow Deny from all Allow from xx.36.2.215 /Files xx.36.2.215 is actual value IP This file makes

[PHP] Re: htaccess question

2011-04-24 Thread Al
On 4/24/2011 5:48 PM, Al wrote: I want to restrict access to all files except one on my site and in parent dir. Thought this should work; but it doesn't. Files * Order Deny,Allow Deny from all Allow from xx.36.2.215 /Files xx.36.2.215 is actual value IP This file makes a captcha image and

[PHP] Re: htaccess question

2009-09-11 Thread Shawn McKenzie
tedd wrote: Hi gang: Is there a way I can use a htaccess directive to require a php script to be included within each file contained within that directory? For example, let's say I have a directory with 100 scripts in it, but I want each script within that directory to pass through an

[PHP] Re: htaccess question

2009-09-11 Thread tedd
At 10:15 AM -0500 9/11/09, Shawn McKenzie wrote: .htaccess php_value auto_prepend_file /path/to/auth.php Thanks! -Shawn AND At 5:11 PM +0200 9/11/09, J DeBord wrote: Here is a link to the manual. http://www.php.net/manual/en/ini.core.php#ini.auto-prepend-file *PHP_INI_PERDIR* Entry

Re: [PHP] Re: .htaccess

2005-09-14 Thread blackwater dev
Yes, I had already changed the AllowOverride. It might be php as I get this in my logs: [Wed Sep 14 20:04:46 2005] [notice] caught SIGTERM, shutting down PHP Warning: PHP Startup: Unable to load dynamic library './php_mcrypt.so' - ./php_mcrypt.so: cannot open shared object file: No such file or

[PHP] Re: .htaccess

2005-09-13 Thread David Robley
blackwater dev wrote: I am using .htaccess files throughout my code directory tree to set certain directives such as php_value auto_prepend_file ../lib/libmatrix.php The problem is, they don't work. I have this in apache: Directory usr/local/apache/htdocs/realtors/ Options

Re: [PHP] Re: .htaccess

2005-09-13 Thread blackwater dev
Thanks David, I just set it to AllowOverride All and restarted apache but it still doesn't seem to work. On 9/13/05, David Robley [EMAIL PROTECTED] wrote: blackwater dev wrote: I am using .htaccess files throughout my code directory tree to set certain directives such as php_value

Re: [PHP] Re: .htaccess

2005-09-13 Thread David Robley
blackwater dev wrote: Thanks David, I just set it to AllowOverride All and restarted apache but it still doesn't seem to work. On 9/13/05, David Robley [EMAIL PROTECTED] wrote: blackwater dev wrote: I am using .htaccess files throughout my code directory tree to set certain

[PHP] Re: .htaccess authentification problem

2003-11-28 Thread Catalin Trifu
Hi, When using .htaccess files the request does not reach your scripts untill Apache has done his authentication. So, I suggest you take out the .htaccess part for authentication and deal with it only from PHP; for instance with sessions: 1. Ask for user/pass on first page and

[PHP] Re: .htaccess authentification problem

2003-11-28 Thread Michael Hübner
Hi Catalin, Thanks for your response. I don't wont to do it this way, because I use the apache-module providing automatic directory indexing. It is very fast and I don't have to program a directory indexing by my own. Actually my server is only a Pentium 100 and generating an index via php slows

[PHP] Re: .htaccess question protect my php test environment

2003-10-25 Thread James Moe
Frank Tudor wrote: I restart the server and then go to another computer and put in the URL and no password box comes up. Add this to the [virtual]host's section: directory /virtual_0/path/whatever AllowOverride AuthConfig Options /directory and restart httpd. -- jimoe at sohnen-moe dot com

[PHP] Re: .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread PHP Webmaster
Php Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using a form to send the login details to the site through the address bar (http://user:[EMAIL PROTECTED]) but the .htaccess password

[PHP] Re: .htaccess settings

2002-03-04 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Under PHP3 I was able to do the following within an .htaccess file: php3_magic_quotes_runtime off php3_magic_quotes_gpc on How do I achieve the same thing under PHP4? -- H | Life is the art of drawing without an eraser.

[PHP] Re: .htaccess login id

2002-02-18 Thread David
Mohamed Ismail Bulale said something on 19 Feb 2002, in php.general: To get username and password with php, use this below code: SNIP Best regards, Bulale Or you could use the varibles $PHP_AUTH_USER $PHP_AUTH_PW $PHP_AUTH_TYPE. http://www.php.net/manual/en/features.http-auth.php

[PHP] Re: htaccess

2001-09-21 Thread Richard Lynch
Read php.ini Search for engine I think you can only turn it off, not on, in .htaccess as your ISP wouldn't want you to be able to turn it on if they turned it off in the first place... Actually, the whole engine directive may be httpd.conf only, not .htaccess -- WARNING [EMAIL PROTECTED]

[PHP] Re: htaccess php

2001-08-09 Thread Richard Lynch
Also make sure you are running PHP as a Module and not CGI. You can't do HTTP Authentication from inside PHP under CGI. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a

[PHP] Re: htaccess php

2001-08-08 Thread Inércia Sensorial
Here: http://hotwired.lycos.com/webmonkey/00/05/index2a.html?tw=programming -- Julio Nobrega. 2B||!BB - That's the question. Chris Kay [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi My question is that i am about to start a database and i have

[PHP] Re: .htaccess

2001-07-24 Thread Jeremy Maziarz
Jon, Try $REMOTE_USER -Jeremy Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]