Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

forcetype + filesmatch in htaccess

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
.htaccess problem - hello, I have disabled directory browsing for all folders on my server and written a .htaccess allowing it for one folder. I would like to know what to put in a .htaccess file so that full access to all is enabled for only two IP ..

I cant get .htaccess to work - I am runnning apache on SuSE 7.2 pro, I have several Virtual hosts all working correctly - I want to password protect one of the but it doesnt want to work. I have added into the as follows ..

Can htaccess include another file? - Hi, I want to achieve something like this. Imagine I have a file called which contains a whole bunch of IP addresses which I want to blocked, one per line. Can I do something like this? <Files deny from..

newbie question about .htaccess - I have a private website folder which I would like to password protect so I have followed the on the Apache website and some other sites to write an .htaccess file. This results in a pop up box which asks for the username and password. The..

DirectoryIndex, and other commands for the htaccess file??? - I'm on a shared host and I'm new with setting up various for my files. I've created an htaccess file in the root, and I've set up most of my web site files under Inside that htaccess file, I've added..
Next:  Can't Get jk2 to work  
Author Message
marc5

External


Since: Aug 10, 2003
Posts: 1



(Msg. 1) Posted: Mon Aug 11, 2003 12:15 am
Post subject: forcetype + filesmatch in htaccess
Archived from groups: alt>apache>configuration (more info?)

I have write a script based on a htaccess file:
Here it is:

<FilesMatch "directory">
  ForceType application/x-httpd-php
</FilesMatch>

But the server don't care about it.

An idea?<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: forcetype + filesmatch in htaccess 
Back to top
Login to vote
jring

External


Since: Jun 30, 2003
Posts: 154



(Msg. 2) Posted: Tue Aug 12, 2003 3:20 pm
Post subject: Re: forcetype + filesmatch in htaccess [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > I have write a script based on a htaccess file:
 > Here it is:
 >
 > <FilesMatch "directory">
  > ForceType application/x-httpd-php
 > </FilesMatch>
 >
 > But the server don't care about it.
 >
 > An idea?

your .htaccess will make all files containing directory like
this_is_no_directory.pl and residing in the same directory as the
..htaccess file be interpreted by mod_php. was that what you wanted?

if not, please describe what you want to accomplish.

joachim

ps: as per docs ForceType is not explicitly allowed in <File> or
<FileMatch> blocks, only <Directory> and <Location>, i'm too lazy to
check wether by omission or intent...<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: forcetype + filesmatch in htaccess 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]