On Tue, Apr 9, 2013 at 2:07 PM, Al n...@ridersite.org 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
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/
On Mon, May 23, 2011 at 11:52 AM, Al n...@ridersite.org 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.,
FilesMatch ^(makeScodeImg.php)
Order Allow,Deny
Deny from
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
On Fri, Sep 11, 2009 at 4:46 PM, tedd t...@sperling.com 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
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
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
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
Also,
I am trying to find a way to get this to work:
within the directory I'm in,
1/5/2/3
should be rewritten to
index.php?a=1b=5c=2d=3
I'm sure lots of people have done this before, but the Apache examples
don't seem to include this. Where can I find a working example?
Thanks!
Peter
Hi,
i
At 06:57 PM 3/22/01 +0100, Jimmy Bckstrm wrote:
Yo!
I need to know how I create a login script that uses the htaccess file to
authenticate users.
Thankful for any answers!
/Broder B
Set up your .htaccess file as usual, pointing to a userfile created with
htpasswd. Place the .htaccess file
10 matches
Mail list logo