Re: [PHP] htaccess

2013-07-07 Thread Tedd Sperling
Simon: 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 AddHandler x-httpd-php5-cgi .php .htm .html That will allow for their function (whatever

Re: [PHP] htaccess

2013-07-07 Thread Simon J Welsh
On 8/07/2013, at 8:06, Tedd Sperling wrote: > Hi gang: > > I have a client who has an account with GoDaddy (I know). > > GoDaddy says they have PHP v 5.3 installed on the client's account, but > phpinfo() says different, namely it reports 5.2.17. > > After calling GoDaddy, they said the clien

Re: [PHP] htaccess to make html act as php suffixed files

2013-06-11 Thread Rodrigo Silva dos Santos
Em Ter 11 Jun 2013 15:08:59 BRT, Matijn Woudt escreveu: On Tue, Jun 11, 2013 at 7:17 PM, Stuart Dallas wrote: On 11 Jun 2013, at 18:16, Tedd Sperling wrote: Hi gang: To get html pages to use php scripts, I've used: RewriteEngine on # handler for phpsuexec. -- this makes these prefixes con

Re: [PHP] htaccess to make html act as php suffixed files

2013-06-11 Thread Matijn Woudt
On Tue, Jun 11, 2013 at 7:17 PM, Stuart Dallas wrote: > On 11 Jun 2013, at 18:16, Tedd Sperling wrote: > > > Hi gang: > > > > To get html pages to use php scripts, I've used: > > > > RewriteEngine on > > # handler for phpsuexec. -- this makes these prefixes considered for php > > > > SetHandler

Re: [PHP] htaccess to make html act as php suffixed files

2013-06-11 Thread Stuart Dallas
On 11 Jun 2013, at 18:16, Tedd Sperling wrote: > Hi gang: > > To get html pages to use php scripts, I've used: > > RewriteEngine on > # handler for phpsuexec. -- this makes these prefixes considered for php > > SetHandler application/x-httpd-php > > > In a .htaccess file. > > However, it wo

Re: [PHP] .htaccess and user file/folder access outside public_html

2013-05-25 Thread Camilo Sperberg
On May 25, 2013, at 13:38, Rafnews wrote: > Hi, > > i'm facing a problem and i don't know where to start and in fact, how to do > it. > > Situation: > Users of my website should be able to save their resume files + cover letters > on my webserver. > > problem: > how to make their file SECUR

Re: [PHP] htaccess question

2013-04-09 Thread Daniel Brown
On Tue, Apr 9, 2013 at 2:07 PM, Al wrote: > I know it's not a php question, but I can't readily find the answer > elsewhere. > > I want to make this directive universal. Put htaccess file on any host in > any folder. > > This works > RewriteEngine On > > RewriteCond %{SERVER_PORT} !=443 > > Rewrit

Re: [PHP] htaccess question

2011-05-23 Thread Alex Nikitin
On Mon, May 23, 2011 at 11:52 AM, Al wrote: > How can I prevent access to all files in a directory except one with an > htaccess file. > > I've tried several approaches found with Googling; but, none seem to work. > > e.g., > > Order Allow,Deny > Deny from all > > > This seems to me as it shoul

RE: [PHP] htaccess question

2011-05-23 Thread admin
First turn your ReWriteEngine On. This can be done in the particular folder to allow them access to only the one file. You need to understand the conditions of mod_rewrite read below. http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html OR you can just use the http://cooletips.de/htaccess/ fr

Re: [PHP] htaccess question

2009-09-11 Thread J DeBord
On Fri, Sep 11, 2009 at 4:46 PM, 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 wit

Re: [PHP] htaccess question

2009-09-11 Thread Sudheer Satyanarayana
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 authorization script befo

Re: [PHP] .htaccess - change index.php to index.abc

2006-06-06 Thread Richard Lynch
On Tue, June 6, 2006 3:38 pm, Jochem Maas wrote: > no warranty is available - I happily lose days trying to get > RewriteRules > running and tuned :-P chances are it requires tweaking to get working. Which is one of the reasons I abandoned mod_rewrite as a solution for URL-munging. MUCH easier to

Re: [PHP] .htaccess - change index.php to index.abc

2006-06-06 Thread Jochem Maas
Joe Wollard wrote: > If you don't want to change the names of the files themselve from .php to > .abc then you'd need to use something like mod_rewrite for apache's HTTPD. > I'm not entirely certain as to how you'd do this, but I've included what I > normally use to hide index.php in the url. If po

Re: [PHP] .htaccess - change index.php to index.abc

2006-06-05 Thread Richard Lynch
On Sat, June 3, 2006 6:47 pm, Labunski wrote: > What should I change in .htaccess, so that visitors will see index.abc > instead of index.php. > I just wanna hide file's extension. Assuming you use PHP as Module and not CGI: ForceType application/x-httpd-php -- Like Music? http://l-i-e.com/

Re: [PHP] .htaccess - change index.php to index.abc

2006-06-03 Thread Joe Wollard
If you don't want to change the names of the files themselve from .php to .abc then you'd need to use something like mod_rewrite for apache's HTTPD. I'm not entirely certain as to how you'd do this, but I've included what I normally use to hide index.php in the url. If possible I'd put this in htt

Re: [PHP] htaccess file

2005-04-24 Thread Jochem Maas
Greg Donald wrote: On 4/21/05, Pieter du Toit <[EMAIL PROTECTED]> wrote: Is there any way that i can see if using htaccess file is enabled on server without contacting my isp. I created a htaccess file and ftp'd it to the server with the register_globals flag set to 0: php_admin_flag register_globa

Re: [PHP] htaccess file

2005-04-21 Thread Greg Donald
On 4/21/05, Pieter du Toit <[EMAIL PROTECTED]> wrote: > Is there any way that i can see if using htaccess file is enabled on server > without contacting my isp. > > I created a htaccess file and ftp'd it to the server with the > register_globals flag set to 0: > > php_admin_flag register_globals

Re: [PHP] htaccess file

2005-04-21 Thread Chris
Well, if the htaccess file caused an internal server error (500) then yes, it's reading it. This isn't an apache list, you probably want to ask this question somewhere else... That being said... Are you missing an 'e' in the AllowOverride line near the bottom? Pieter du Toit wrote: Is there an

Re: [PHP] .htaccess

2005-04-19 Thread Martin Mandl
and try php_value instead of php flag: php_value session.cookie_lifetime 14400 Martin Mandl wrote: 4 hours = 60 * 60 * 4 = 14400 Mario de Frutos Dieguez wrote: pete M escribió: I'm trying to figure out out to put a directive in .htaccess to make the session timeout in 4 hours .. tried php_flag se

Re: [PHP] .htaccess

2005-04-19 Thread Martin Mandl
4 hours = 60 * 60 * 4 = 14400 Mario de Frutos Dieguez wrote: pete M escribió: I'm trying to figure out out to put a directive in .htaccess to make the session timeout in 4 hours .. tried php_flag session.cookie_lifetime 240 and a few others can someone help ! tia Try ini_set("session.gc_maxlifeti

Re: [PHP] .htaccess

2005-04-19 Thread Mario de Frutos Dieguez
pete M escribió: I'm trying to figure out out to put a directive in .htaccess to make the session timeout in 4 hours .. tried php_flag session.cookie_lifetime 240 and a few others can someone help ! tia Try ini_set("session.gc_maxlifetime","2400"); -- Mario de Frutos Dieguez División de Ingenierí

Re: [PHP] .htaccess config

2005-04-02 Thread Jochem Maas
Philip Hallstrom wrote: allow_url_fopen can only be set in php.ini. See here for more info: scope of ini settings (from the manual)... ConstantValue Meaning PHP_INI_USER1 Entry can be set in user scripts or in Windows registry PHP_INI_PERDIR 2 Entry can be set in php.ini

Re: [PHP] .htaccess config

2005-03-31 Thread Philip Hallstrom
allow_url_fopen can only be set in php.ini. See here for more info: http://us2.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen On Thu, 31 Mar 2005, Neo Theone wrote: Hi I got a simple problem: I need to have allow_url_fopen on for a certain directory and so I wanted to control it by .ht

Re: [PHP] .htaccess and .htpasswd

2004-10-14 Thread Afan Pasalic
Thanks but problem is already solved :) -afan Mulley, Nikhil wrote: Can I know the platform on which you are running apache. -Original Message- From: Matthew Sims [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 1:57 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] .htaccess and

RE: [PHP] .htaccess and .htpasswd

2004-10-13 Thread Mulley, Nikhil
Can I know the platform on which you are running apache. -Original Message- From: Matthew Sims [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 1:57 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] .htaccess and .htpasswd > # .htaccess > AuthType Basic > AuthName "R

Re: [PHP] .htaccess and .htpasswd

2004-10-13 Thread Afan Pasalic
Yes, I sent it on wrong place. :) Sorry. -afan Matthew Sims wrote: # .htaccess AuthType Basic AuthName "Restricted Area" AuthUserFile "/www/html/path/to/file/admin/.htpasswd" require valid-user # .htpasswd Admin:ChqaxtiTH1e0E Both files are in same directory. Why it doesn't work? Can I use as Auth

Re: [PHP] .htaccess and .htpasswd

2004-10-13 Thread John Nichel
Afan Pasalic wrote: # .htaccess AuthType Basic AuthName "Restricted Area" AuthUserFile "/www/html/path/to/file/admin/.htpasswd" require valid-user # .htpasswd Admin:ChqaxtiTH1e0E Both files are in same directory. Why it doesn't work? Can I use as AuthUserFile ".htpasswd" since they are in the same

Re: [PHP] .htaccess and .htpasswd

2004-10-13 Thread Afan Pasalic
Oops! Sorry guy, sent to wrong place! I apology. :) -afan Matt M. wrote: try an apache mailing list. . -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] .htaccess and .htpasswd

2004-10-13 Thread Matt M.
try an apache mailing list. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] .htaccess and .htpasswd

2004-10-13 Thread Matthew Sims
> # .htaccess > AuthType Basic > AuthName "Restricted Area" > AuthUserFile "/www/html/path/to/file/admin/.htpasswd" > require valid-user > > # .htpasswd > Admin:ChqaxtiTH1e0E > > Both files are in same directory. > > Why it doesn't work? > > Can I use as AuthUserFile ".htpasswd" since they are in t

Re: [PHP] .htaccess

2004-08-18 Thread John Nichel
Václav Slováček wrote: hi, i would like to ask what happens when a user is downloading a large file from apache server and i modify the .htaccess file affecting the folder where is the file beeing downloaded by the user. For example i rewrite the list of ips allowed to access the file/folder

RE: [PHP] .htaccess

2004-08-18 Thread Jay Blanchard
[snip] i would like to ask what happens when a user is downloading a large file from apache server and i modify the .htaccess file affecting the folder where is the file beeing downloaded by the user. For example i rewrite the list of ips allowed to access the file/folder and i remove the us

Re: [PHP] .htaccess file

2004-07-05 Thread raditha dissanayake
Václav Slováček wrote: When my web is hosted, there is no other way how to solve it? I realized that I can't see the file in my ftp client, so I cant't change the permissions. Of course, I can't use chmod() to change the permissions when I'm not allowed to write into the file. So the only so

Re: [PHP] .htaccess file

2004-07-05 Thread Jason Wong
On Monday 05 July 2004 18:13, Václav Slováček wrote: > So the only solution is to contact admin? Yes. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ---

Re: [PHP] .htaccess file

2004-07-05 Thread Václav Slováček
When my web is hosted, there is no other way how to solve it? I realized that I can't see the file in my ftp client, so I cant't change the permissions. Of course, I can't use chmod() to change the permissions when I'm not allowed to write into the file. So the only solution is to contact a

Re: [PHP] .htaccess file

2004-07-05 Thread Gerben
You will have to chmod these .htaccess files "John" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] what are the files permissons? of these are set wrong it could cause your problem On Mon, 05 Jul 2004 10:58:54 +0200, Václav Slovácek <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a

Re: [PHP] .htaccess file

2004-07-05 Thread John
what are the files permissons? of these are set wrong it could cause your problem On Mon, 05 Jul 2004 10:58:54 +0200, VÃclav SlovÃÄek <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a problem, but maybe it's more about Apache than about PHP. I need > to access a Apache .htaccess file from PHP and

Re: [PHP] .htaccess file

2004-07-05 Thread zareef ahmed
--- Václav Slováèek <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a problem, but maybe it's more about Apache > than about PHP. I need > to access a Apache .htaccess file from PHP and > modify it, but I always get > "access denied" error. Could you help me, with > solving this problem? Plea

Re: [PHP] .htaccess file

2004-07-05 Thread Jason Wong
On Monday 05 July 2004 16:58, Václav Slováček wrote: > I have a problem, but maybe it's more about Apache than about PHP. I need > to access a Apache .htaccess file from PHP and modify it, but I always get > "access denied" error. Could you help me, with solving this problem? "access denied" most

Re: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Radwan Aladdin
://www.alaedin.com/pass2 So where must I put the .htaccess file.. and does the code working well?? Cheers.. - Original Message - From: "Richard Davey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 8:18 PM Subject: Re: [PHP] .htaccess..

Re: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Richard Davey
Hello Radwan, Thursday, March 4, 2004, 3:58:52 PM, you wrote: RA> Okay now this problem is solved.. but the other problem is that in my RA> .htaccess file : This isn't really PHP related I'm afraid, the following might be of more help to you: http://www.google.com/search?sourceid=navclient&ie=U

Re: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Richard Davey
Hello Radwan, Thursday, March 4, 2004, 4:09:07 PM, you wrote: RA> And also must I put it without name? or can I name it for example : RA> "test.htaccess"? or must I name it : ".htaccess" (Without name)?? Usually you must name it .htaccess There is probably a way to change what it can be called,

RE: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Jay Blanchard
[snip] And also must I put it without name? or can I name it for example : "test.htaccess"? or must I name it : ".htaccess" (Without name)?? [/snip] While wonderfully fascinating in many aspects, shouldn't this be on an Apache list somewhere? And it is .htaccess [no name] -- PHP General Mailing

RE: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread jon roig
It's probably is still there, just hiding. You could write a quick little php script to check it out if you ftp client is blocking it from being seen. -- jon --- jon roig web developer email: [EMAIL PROTECTED] phone: 888.230.7557 -Original Message- From: Radwan A

Re: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Richard Davey
Hello Radwan, Thursday, March 4, 2004, 3:38:28 PM, you wrote: RA> I made a .htaccess file. and then uploaded it to my server.. RA> but everytime I do it deletes it automatically.. it is hidden RA> directly.. or sure deleted from there.. so what is the RA> problem! Are you *sure* it is d

Re: [PHP] htaccess

2004-02-24 Thread Will's Scripts
I just wanted to thank everyone for all your help on the list and off!! :) ~WILL~ Chris W. Parker wrote: Will's Scripts on Tuesday, February 24, 2004 3:54 PM said: I guess I need the documentation on the htpasswd function. Sorry I am learning. http://www.googl

RE: [PHP] htaccess

2004-02-24 Thread Ryan C. Creasey
Ryan C. Creasey wrote: > In all liklihood, he's referring to apache's mod_access module. You > should try reading the documentation over at the apache group's website, > as it's quite extensive. > > http://httpd.apache.org/docs-2.0/mod/mod_access.html Also, mod_auth: http://httpd.apache.org/docs

RE: [PHP] htaccess

2004-02-24 Thread Ryan C. Creasey
Chris W. Parker wrote: > what is "the password thing"?? In all liklihood, he's referring to apache's mod_access module. You should try reading the documentation over at the apache group's website, as it's quite extensive. http://httpd.apache.org/docs-2.0/mod/mod_access.html This question isn't

Re: [PHP] htaccess

2004-02-24 Thread Luke
Take a look at http://wsabstract.com/howto/htaccess.shtml its covers a bit and is easy to understand! Luke __ "Will'S Scripts" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] The password thing is how do you make the htpasswd file?? I did a sea

RE: [PHP] htaccess

2004-02-24 Thread Chris W. Parker
Will's Scripts on Tuesday, February 24, 2004 3:54 PM said: > I guess I need the documentation on the htpasswd function. Sorry I am > learning. http://www.google.com/search?q=htpasswd there are lots of pages there. specifically this one: http://www.webdevelopersjou

Re: [PHP] htaccess

2004-02-24 Thread Will's Scripts
The password thing is how do you make the htpasswd file?? I did a search on "htpasswd" and did not com up with anything. I guess I need the documentation on the htpasswd function. Sorry I am learning. ~WILL~ Chris W. Parker wrote: Will on Tuesday, February 24,

RE: [PHP] htaccess

2004-02-24 Thread Chris W. Parker
Will on Tuesday, February 24, 2004 2:05 PM said: > What is the proper way to do this and the easiest way. I know how to > write a file to the server, but how do you do the password thing?? what is "the password thing"?? chris. -- PHP General Mailing List (http:

Re: [PHP] .htaccess problem

2004-01-01 Thread Andrew Séguin
That would be based on 'realms'. see : http://httpd.apache.org/docs-2.0/mod/core.html#authname for more info on how to set that. Basicaly, most browsers cache the userid and password as long as the page you are viewing is within the same realm (don't ask for userid and password again). Your solu

Re: [PHP] htaccess / php

2003-12-02 Thread Ashley M. Kirchner
Ed Lazor wrote: What do I put in .htaccess for Apache to process a named "archive" as a PHP file? I did it before and can't seem to find what I did. Requests to http://myhost.com/archive/page1.php would get processed by the file named archive and page1.php would just be a parameter that I could

Re: [PHP] htaccess / php

2003-12-01 Thread Jason Wong
On Tuesday 02 December 2003 14:34, Ed Lazor wrote: > What do I put in .htaccess for Apache to process a named "archive" as a PHP > file? > > I did it before and can't seem to find what I did. Requests to > http://myhost.com/archive/page1.php would get processed by the file named > archive and page

RE: [PHP] .htaccess authentification problem

2003-11-28 Thread Wouter van Vliet
Michael Hübner wrote: > Hallo, > > Hope somebody can help me. > > I'm working on Linux, Apache. > > On my start-site the user can log in via inserting Username > and Password into normal formfields, which are compared with a DB. > > After this login, he can change to his own user-directory > wh

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

2003-10-24 Thread John Nichel
Frank Tudor wrote: John, Sorry I did use htpasswd... Override? Do you have a snip from a config file that I can look at? I don't mind editing the httpd.conf manually. Frank This controls which options the .htaccess files in directories can override. Can also be "All", or any combination of "O

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

2003-10-24 Thread John Nichel
Frank Tudor wrote: I have to apologies about this posting in advance so please don't flame me too bad for being off topic. Question: I want to create an .htaccess file to protect my files I did the passwrd -c /directory/file frank The above is wrong, the below is right htpasswd -c /path/to/f

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

2003-10-24 Thread Raditha Dissanayake
Hi, It's htpasswd and not passwd. As many others on this group i don't use the redhat config system it's lame. You will be better off editing httpd.conf and adding an AllowOverrides directive. best regards Frank Tudor wrote: I have to apologies about this posting in advance so please don't fla

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

2003-10-07 Thread Jason Wong
On Tuesday 07 October 2003 03:44, PHP Webmaster wrote: [snip] > $redirect_url = "https://"; . $username . ":" . $password . "@" . $domain . > ":2083/frontend/x/index.html"; > header("Location: $redirect_url"); The code looks OK. FWIW I've tried something like: http://someone:[EMAIL PROTECTED]

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

2003-10-06 Thread PHP Webmaster
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tuesday 07 October 2003 00:32, PHP Webmaster wrote: > > > If I use my login form, the login box pops up only once. If I copy the text > > from the address bar (generated by the form) and paste it into the address > > bar

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

2003-10-06 Thread Jason Wong
On Tuesday 07 October 2003 00:32, PHP Webmaster wrote: > If I use my login form, the login box pops up only once. If I copy the text > from the address bar (generated by the form) and paste it into the address > bar (after restarting the browser) the logon box does not appear. Perhaps you could s

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

2003-10-06 Thread PHP Webmaster
ll prompt you for the password, redirect you to the subdomain and then prompt you again. Nathan - Original Message - From: Mika Tuupola To: PHP Webmaster Cc: [EMAIL PROTECTED] Sent: Monday, October 06, 2003 7:12 AM Subject: Re: [PHP] .htaccess - Still asking for login information

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

2003-10-06 Thread PHP Webmaster
"Mika Tuupola" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 6 Oct 2003, PHP Webmaster wrote: > > > 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 P

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

2003-10-06 Thread Nathan Taylor
athan - Original Message - From: Mika Tuupola To: PHP Webmaster Cc: [EMAIL PROTECTED] Sent: Monday, October 06, 2003 7:12 AM Subject: Re: [PHP] .htaccess - Still asking for login information although already sent through address bar On Mon, 6 Oct 2003, PHP Webmaster

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

2003-10-06 Thread Mika Tuupola
On Mon, 6 Oct 2003, PHP Webmaster wrote: > 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 protection box That does not look like

Re: [PHP] .htaccess

2003-08-03 Thread Simone Levy
> Just one question, is there any way that when a person logs in via the > htaccess popup that i can know via my php script...and can i also get > his > username? Protect the directory you want with .htaccess If authentication was successful, your code in index.php is executed: if($REMOTE_USER=="

Re: [PHP] htaccess?

2003-07-11 Thread Dean E. Weimer
> Is it possible to determine who the htaccess user logged in is? If so, > how? > Can you point me at some articles? > > Johnny > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > $_SERVER['PHP_AUTH_USER'] -- Thanks, Dean E. Weimer

Re: [PHP] .htaccess files

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 15:34, Steve Marquez wrote: > Hello everyone, > > Could someone point me in the direction of some info on .htaccess files? > Could someone send me one, tell me where to put it in my > server? I hope this is not a stupid question. I am running Apache on a Mac > with Jaguar OSX

Re: [PHP] .htaccess files

2003-06-18 Thread Mike Morton
Nothing to do with php but: http://search.apache.org/index.cgi?query=.htaccess&submit=Search%21&metaname =swishdefault&sort=swishrank&sbm=httpd On 6/18/03 6:34 PM, "Steve Marquez" <[EMAIL PROTECTED]> wrote: > Hello everyone, > > Could someone point me in the direction of some info on .htaccess

Re: [PHP] .htaccess files

2003-06-18 Thread Brian V Bonini
On Wed, 2003-06-18 at 18:34, Steve Marquez wrote: > Hello everyone, > > Could someone point me in the direction of some info on .htaccess files? > Could someone send me one, tell me where to put it in my > server? I hope this is not a stupid question. I am running Apache on a Mac > with Jaguar OSX

Re: [PHP] .htaccess files

2003-06-18 Thread Leif K-Brooks
Steve Marquez wrote: Hello everyone, Could someone point me in the direction of some info on .htaccess files? Could someone send me one, tell me where to put it in my server? I hope this is not a stupid question. I am running Apache on a Mac with Jaguar OSX. This has nothing to do with PHP. -- T

RE: [PHP] .htaccess

2003-06-10 Thread Jeff Harris
On Jun 9, 2003, "John W. Holmes" claimed that: |> Just one question, is there any way that when a person logs in via the |> htaccess popup that i can know via my php script...and can i also get his |> username? | |Have you read the chapter on HTTP Authentication? No. Read the very |first paragraph

RE: [PHP] .htaccess

2003-06-09 Thread John W. Holmes
> Just one question, is there any way that when a person logs in via the > htaccess popup that i can know via my php script...and can i also get his > username? Have you read the chapter on HTTP Authentication? No. Read the very first paragraph: "The HTTP Authentication hooks in PHP are only avai

RE: [PHP] htaccess writable by httpd

2003-03-23 Thread John W. Holmes
> is this a dangerous feature ? Depends what kind of server you're on to start with. If you have a dedicated server, then it's not as big of a deal. If you're on a shared server, then anyone else on that server can write your .htaccess files for you (generally). ---John W. Holmes... PHP Architec

Re: [PHP] .htaccess Help

2003-03-10 Thread Justin French
Get on the Apache list, not the PHP one :) Justin on 11/03/03 10:39 AM, Pushpinder Singh Garcha ([EMAIL PROTECTED]) wrote: > Hello All > > I need to allow users to be able to access ONLY non-html files in a > Secret Dir. > Can anyone suggest a .htaccess method to do just that. > > I have a .ht

Re: [PHP] .htaccess and mod rewrite.

2002-10-30 Thread John Nichel
.htaccess only works for the document root directory and below. You could try making a symbolic link to the directory in the document root (I don't know if this will work). Brendon G wrote: I was looking over a tutorial on Php builder on making search engine friendly sites. While i got the co

Re: [PHP] .htaccess and PHP

2002-08-12 Thread Analysis & Solutions
On Tue, Aug 13, 2002 at 12:01:24AM +0300, Smad wrote: > > I am authenticating users on my website using .htaccess. > After they log in, I want to pass the user info (for ex: a unique nr. > identifiying the person) thruought all the pages which are affected by the > .htaccess file $_SERVER['PHP_A

Re: [PHP] .htaccess

2002-08-02 Thread Andrew Brampton
place a phpInfo() page behind the .htaccess and you will see what varibles php has :) I'm pretty sure there is ones contianing the username/password that was entered Andrew - Original Message - From: "Oliver Witt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 3

Re: [PHP] .htaccess

2002-08-02 Thread Andrey Hristov
The password that user used is available in some var var_dump($HTTP_SERVER_VARS); or var_dump($GLOBALS); Andrey - Original Message - From: "Oliver Witt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 5:21 PM Subject: [PHP] .htaccess > Hi! > Using an .htacce

Re: [PHP] htaccess

2002-08-02 Thread Alexander Kuznetsov
Hello Theo, Friday, August 02, 2002, 1:11:32 PM, you wrote: TR> I am told that I should edit my .htaccess file because I want to include TR> a file during the execution of a script, but apparently I do something TR> wrong because I keep getting error messages like these: TR> Warning: Failed open

Re: [PHP] .htaccess file

2002-08-01 Thread Neil Freeman
php_value register_globals "0" B i g D o g wrote: > ** > This Message Was Virus Checked With : SAVI 3.59 May 2002 > Last Updated 8th July 2002 > ** > >

Re: [PHP] .htaccess file

2002-08-01 Thread Nicole Lallande
it's php_flag register_globals off -- you can either place this within your tags in your httpd .conf file or in an htaccess file -- for more info see http://www.php.net/manual/en/configuration.php#AEN2390 best, Nicole Nicole Lallande wrote: > I think it is something like - can't remember if

Re: [PHP] .htaccess file

2002-08-01 Thread Nicole Lallande
I think it is something like - can't remember if it's an underscore or dash between the 'php' and 'flag' php-flag register_globals off HTH, Nicole B i g D o g wrote: >Is it possible to set register_globals to off in the .htaccess file. If so >how do I do that? > > >.: B i g D o g :. > > > >

RE: [PHP] htaccess

2002-06-05 Thread Ray Hunter
Try checking the apache environment...however that password will not be there... Thank you, RAY HUNTER -Original Message- From: Steve Buehler [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 3:39 PM To: PHP Subject: [PHP] htaccess I have a php script in an .htaccess protec

RE: [PHP] htaccess

2002-06-05 Thread Scott Hurring
Try creating an .htaccess protected script, and do a var_dump($GLOBALS) to see what vars are set, and if any of them contain the name you logged in with. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > F

[PHP] Re: php/.htaccess/.htpasswd

2002-05-03 Thread Mike Eheler
Ahh. I didn't really consider that. Excellent idea. Mike On Fri, 2002-05-03 at 21:58, serj wrote: > The way I designed the script was so that each time they want to save > changes to their htaccess file through the script they have to enter their > password. So I never have to actually save the

[PHP] Re: php/.htaccess/.htpasswd

2002-05-03 Thread Mike Eheler
The problem is not in them being able to overwrite the .htaccess *and* getting your FTP password.. those are the cons for both solutions we have presented, respectfully. Right now the ideal solution seems to be this: save new .htaccess to a temp file save new .htpasswd to a temp file use PHP's

[PHP] Re: php/.htaccess/.htpasswd

2002-05-03 Thread serj
The way I designed the script was so that each time they want to save changes to their htaccess file through the script they have to enter their password. So I never have to actually save the password anywhere in the script. On Fri, 3 May 2002, Mike Eheler wrote: > The problem is not in them be

Re: [PHP] (htaccess) not letting php to parse

2002-03-08 Thread Matt
- Original Message - From: "Lauri Vain" <[EMAIL PROTECTED]> > Hi there, > > I would prefer to take away the possibility for PHP to parse my > documents in the /uploaded/ directory. Why don't you append someother suffix to the file when it's uploaded? -- PHP General Mailing List

RE: [PHP] htaccess problems

2001-12-17 Thread Jack Dempsey
i don't think you want that space inbetween private/ and .htpasswd -Original Message- From: Jeremiah Jester [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 12:38 AM To: Php-General Subject: [PHP] htaccess problems I cant seem to get my htaccess file to work. Can anyone help?

Re: [PHP] Htaccess / regex / php I dont know why it won't work

2001-10-02 Thread affixcom
From: "Maxim Maletsky (PHPBeginner.com)" <[EMAIL PROTECTED]> To: "'affixcom'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 3:10 PM Subject: RE: [PHP] Htaccess / regex / php I dont know why it won't work I thi

RE: [PHP] Htaccess / regex / php I dont know why it won't work

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)
I think this was supposed to work: .htaccess RewriteEngine On RewriteRule ^(.*)\.zajfe\.org$ redirect.php?url=$1 [L] Are you sure it doesn't? If it doesn't then meas they 1. don't have mod_rewrite (phphinfo shows you the modules loaded) 2. don't allow .htaccess to override httpd.conf ru

Re: [PHP] htaccess and $PHP_AUTH_USER

2001-08-28 Thread Papp Gyozo
Hi, There is a few scripts on Zend pages. I'm sure, this one of them will be very helpful: http://www.zend.com/zend/tut/authentication.php - Original Message - From: Rene Fournier <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 28, 2001 9:24 PM Subject: [PHP] htaccess

Re: [PHP] .htaccess username

2001-08-16 Thread Stig-Ørjan Smelror
Pavel Jartsev wrote: > Tribun wrote: > >>...hmmm, I would guess there is a way, but I dont know why... >> >>Can I read out the active username, which has just logged in through a >>.htaccess authentication??? >> >>Like the access data.. >>user: patrick >>pass: linux >> >>can PHP reads out the use

Re: [PHP] .htaccess username

2001-08-16 Thread Pavel Jartsev
Tribun wrote: > > ...hmmm, I would guess there is a way, but I dont know why... > > Can I read out the active username, which has just logged in through a > .htaccess authentication??? > > Like the access data.. > user: patrick > pass: linux > > can PHP reads out the usersname "patrick" ?? >

Re: [PHP] htaccess & php

2001-08-08 Thread Chris Kay
ok Thanks dude i'll start there At 10:01 AM 8/9/01 +1000, Daniel James wrote: >You are looking for HTTP Authentication... >http://www.php.net/manual/en/features.http-auth.php > >Twigman... > >On 2001.08.09 09:49 Chris Kay wrote: > > > > Hi > > > > My question is that i am about to start

Re: [PHP] htaccess & php

2001-08-08 Thread Daniel James
You are looking for HTTP Authentication... http://www.php.net/manual/en/features.http-auth.php Twigman... On 2001.08.09 09:49 Chris Kay wrote: > > Hi > > My question is that i am about to start a database and i have been asked > to > make the login/password like htaccess, now they also want t

Re: [PHP] .htaccess

2001-08-06 Thread Alexander Wagner
MindHunter wrote: > I've seen this all over. I had a QUICK look at the manual and can't > find much. In short, what is it, what is it used for and is it > WIN/UNIX-LINUX specific. Also any good readings on it will be > appreciated. It is Apache-related, so it will work on any OS Apache can run

Re: [PHP] .htaccess and determining if a user is logged in

2001-07-24 Thread Jason Brooke
> I've done further investigation and it seems that if I go with the approach > of looking for a REMOTE_USER value, I'll have to do the following: > > Since Apache only fills out the REMOTE_USER if the file is in a protected > directory, I have to make a symbolic link within a protected directory

  1   2   >