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

[PHP] htaccess

2013-07-07 Thread Tedd Sperling
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 client has an htaccess file that makes everything 5.2 instead of 5

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

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

2013-06-11 Thread Tedd Sperling
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 works on one site, but not on another -- any ideas as to why? Cheers, tedd

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

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

2013-05-25 Thread Rafnews
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 SECURED from any hack ? I mean only file owner and web administrator

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

[PHP] htaccess question

2013-04-09 Thread Al
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 RewriteRule ^(.*)$ https://www.foo.org/bar/$1 [R=301,L] #Here the

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
From: Al [mailto:n...@ridersite.org] Sent: Monday, May 23, 2011 11:53 AM To: php-general@lists.php.net Subject: [PHP] htaccess question 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 se

[PHP] htaccess question

2011-05-23 Thread Al
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 should deny to all except makeScodeImg.php Thanks -- PHP General Ma

[PHP] htaccess question

2011-04-24 Thread Al
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. Order Deny,Allow Deny from all Allow from xx.36.2.215 xx.36.2.215 is actual value IP This file makes a captcha image and is called with in file /dir/control.php makeSco

Re: [PHP] php htaccess logins and logouts

2009-11-26 Thread Andy Shellam (Mailing Lists)
Hi, > > IIRC if you unset $_SERVER['PHP_AUTH_USER'] and > $_SERVER['PHP_AUTH_PW'] it will log you out. I've done some research on this in the past - and not all browsers/web servers honour that as it's the browser that keeps the username/password cached and sends it after a 401 response, so th

Re: [PHP] php htaccess logins and logouts

2009-11-26 Thread James McLean
On Fri, Nov 27, 2009 at 12:12 AM, Ashley Sheridan wrote: > Hi all, > > I've got a site set up that is using an htaccess file to provide secure > access to a directory. That is working fine. What I wondered was, is > there a way to log out via PHP. As I understand it, the login mechanism > is part

[PHP] php htaccess logins and logouts

2009-11-26 Thread Ashley Sheridan
Hi all, I've got a site set up that is using an htaccess file to provide secure access to a directory. That is working fine. What I wondered was, is there a way to log out via PHP. As I understand it, the login mechanism is part of Apache, so I guess what I'm really asking is, is there a way that

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

[PHP] htaccess question

2009-09-11 Thread tedd
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 authorization sc

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

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

2006-06-03 Thread Labunski
Hello, What should I change in .htaccess, so that visitors will see index.abc instead of index.php. I just wanna hide file's extension. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php .htaccess

2006-01-11 Thread Weber Sites LTD
our browser http://toolbar.weberdev.com -Original Message- From: enediel gonzalez [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 4:50 PM To: php-general@lists.php.net Subject: [PHP] php .htaccess Hello I've a site with a .htaccess defined, the users have to enter the

Re: [PHP] php .htaccess

2006-01-11 Thread Robin Vickery
On 1/11/06, enediel gonzalez <[EMAIL PROTECTED]> wrote: > Hello > > I've a site with a .htaccess defined, the users have to enter the login and > password to get in, > Is it possible on php to ask the apache server wich user is using the > current session? $_SERVER['REMOTE_USER'] -robin

[PHP] php .htaccess

2006-01-11 Thread enediel gonzalez
Hello I've a site with a .htaccess defined, the users have to enter the login and password to get in, Is it possible on php to ask the apache server wich user is using the current session? I'd like to give the users the oportunity to change their password but without ask again who are you.

[PHP] .htaccess

2005-09-13 Thread blackwater dev
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: Options FollowSymLinks AllowOverride None Where realtors is the root directory of my site...

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

[PHP] htaccess file

2005-04-21 Thread Pieter du Toit
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: this is the htaccess code # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* *

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í

[PHP] .htaccess

2005-04-19 Thread pete M
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[PHP] .htaccess config

2005-03-31 Thread Neo Theone
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 .htaccess file. now I can control other php_flags like register_globals in this directory (so apache allows the Override) but I just simple can't get the following line to work:

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

[PHP] .htaccess and .htpasswd

2004-10-13 Thread Afan Pasalic
# .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 directory? I know it

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

[PHP] .htaccess

2004-08-18 Thread Václav Slováček
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 and i remove the user's

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

[PHP] .htaccess file

2004-07-05 Thread Václav Slováček
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? Thank you. -- PHP General Mailing List (http://www.php.net/) To unsu

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

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

2004-03-04 Thread Radwan Aladdin
gt; Sent: Thursday, March 04, 2004 7:58 PM Subject: [PHP] .htaccess... why it is deleted by the server?!!!? > You are right.. > > It is hidden only.. > > Okay now this problem is solved.. but the other problem is that in my > .htaccess file : > > " > AuthUserFile

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

2004-03-04 Thread Radwan Aladdin
it possible? where must I put this file? And must I change in this script? or it is right? Please help me in this problem.. Cheers.. - Original Message - From: "Richard Davey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 7:44 PM Subje

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

2004-03-04 Thread jon roig
adwan Aladdin [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 8:38 AM To: [EMAIL PROTECTED] Subject: [PHP] .htaccess... why it is deleted by the server?!!!? Hi.. I made a .htaccess file. and then uploaded it to my server.. but everytime I do it deletes it automatically.. it is h

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

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

2004-03-04 Thread Radwan Aladdin
Hi.. I made a .htaccess file. and then uploaded it to my server.. but everytime I do it deletes it automatically.. it is hidden directly.. or sure deleted from there.. so what is the problem! My hosting account is Linux, WebServer : Apache.. so what is the problem? and how to solve i

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:

[PHP] htaccess

2004-02-24 Thread Will
Hello all, I tried to search PHP net for this but found nothing. I am doing an install script and I want to write a htaccess file to the server so people can login in to there admin section. What is the proper way to do this and the easiest way. I know how to write a file to the server, but how

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

[PHP] .htaccess problem

2004-01-01 Thread Ryan A
Hi, I dont know if this is really a PHP problem but am wondering if I can perhaps use php to solve this problem... I dont know if this is just a problem on my server or if you have noticed this too but... heres my present setup: /root/protected_files/ /root/protected_files/one/ /root/protected_f

Re: [PHP] php .htaccess autologin

2003-12-12 Thread Eric Bolikowski
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jas wrote: > > > Combination of session vars and cookie vars... > > example... > > [login page] > > sets cookie with auth=0 (variable) > > sets session with auth=0 (variable) > > > > [logged in page(s)] > > sets cookie w

Re: [PHP] php .htaccess autologin

2003-12-11 Thread Justin Patrin
Jas wrote: Combination of session vars and cookie vars... example... [login page] sets cookie with auth=0 (variable) sets session with auth=0 (variable) [logged in page(s)] sets cookie with auth=1 (variable -client side) sets session with auth=1 (variable -server side) hash of users password as cl

Re: [PHP] php .htaccess autologin

2003-12-11 Thread Jas
Combination of session vars and cookie vars... example... [login page] sets cookie with auth=0 (variable) sets session with auth=0 (variable) [logged in page(s)] sets cookie with auth=1 (variable -client side) sets session with auth=1 (variable -server side) hash of users password as client side va

Re: [PHP] php .htaccess autologin

2003-12-11 Thread Evan Nemerson
On Thursday 11 December 2003 04:17 pm, ROBERT MCPEAK wrote: > I've dug around quite a bit and can't figure out how I might use PHP to > handle an .htaccess login. For example, if I wanted a script to log in the > user, rather than the user logging in with the standard .htaccess dialog. > > Any ide

[PHP] php .htaccess autologin

2003-12-11 Thread ROBERT MCPEAK
I've dug around quite a bit and can't figure out how I might use PHP to handle an .htaccess login. For example, if I wanted a script to log in the user, rather than the user logging in with the standard .htaccess dialog. Any ideas? Since the .htaccess vars are stored in the browser, should I b

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

[PHP] htaccess / php

2003-12-01 Thread Ed Lazor
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 access from wit

[PHP] htaccess / PHP

2003-12-01 Thread Ed Lazor
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 access from with

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

[PHP] .htaccess authentification problem

2003-11-27 Thread Michael Hübner
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 which is .htpasswd and .htaccess protected. Th

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

[PHP] .htaccess question protect my php test environment

2003-10-24 Thread Frank Tudor
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 set a password and then confirmed the password I created a .htaccess file with

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

  1   2   3   >