Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 51 results for
filesmatch
- Page 1
Enable cache in PHP file
Programming
Web Development
12 Years Ago
by RobotFX
…-age=2592000, must-revalidate" </
filesMatch
> <
filesMatch
"\.(ico|jpeg|jpg|png|gif|swf|bmp…max-age=2592000, must-revalidate" </
filesMatch
> <
filesMatch
"\.(css|js)$"> Header set …quot;max-age=2592000, public" </
filesMatch
> <
filesMatch
"\.(x?html?|php|htm|txt)$">…
Re: Leverage Browser Caching not working
Programming
Web Development
9 Years Ago
by Arun kumar 47
…"max-age=2592000, public" </
filesMatch
> <
filesMatch
"\.(css)$"> Header set Cache-Control…"max-age=604800, public" </
filesMatch
> <
filesMatch
"\.(js)$"> Header set Cache-Control…quot;max-age=216000, private" </
filesMatch
> <
filesMatch
"\.(x?html?|php)$"> Header …
Modify 'FileMatch' in the httpd.conf in Apache
Programming
Web Development
9 Years Ago
by network18
… set Access-Control-Allow-Origin "*" </
FilesMatch
> I would appreciate the suggestions, somehow the combination…not working for me. I tried below - <
FilesMatch
"^\.ht|.(eot|ttf|otf|woff)"> …set Access-Control-Allow-Origin "*" </
FilesMatch
> Due to this, the server won't start…
Apache HTTPS Virtual Hosting Error
Hardware and Software
Linux and Unix
15 Years Ago
by samarudge
…Foundation/Apache2.2/conf/ssl/pp.key" <
FilesMatch
"\.(cgi|shtml|phtml|php)$"> SSLOptions …+StdEnvVars </
FilesMatch
> <Directory "E:/Program Files/Apache…Foundation/Apache2.2/conf/ssl/pp.key" <
FilesMatch
"\.(cgi|shtml|phtml|php)$"> SSLOptions …
Leverage Browser Caching not working
Programming
Web Development
9 Years Ago
by Eric_9
…website](www.ericbartolo.com) .htaccess code: <
FilesMatch
"\.(ico|jpg|jpeg|png|gif|js|css|…year" </IfModule> </
FilesMatch
> <
FilesMatch
"\.(html|htm|xml|txt|xsl)$"&…;max-age=7200, must-revalidate" </
FilesMatch
> <IfModule mod_mime.c> AddType …
Re: Modify 'FileMatch' in the httpd.conf in Apache
Programming
Web Development
9 Years Ago
by pritaeas
I don't see any mention of `Header` being valid for `
FilesMatch
` in the [manual](http://httpd.apache.org/docs/2.2/mod/core.html).
disallow hidden directory access with httpd.conf
Hardware and Software
Linux and Unix
15 Years Ago
by alternapop
… know i can disallow hidden files with this: [CODE] <
FilesMatch
"^\."> Order allow,deny Deny from all <…;/
FilesMatch
> [/CODE] using these paths, as examples: [url]www.example.…
httpd.conf and file indexes
Hardware and Software
Linux and Unix
15 Years Ago
by hookedonphp
…DirectoryIndex index.php index.htm index.html AccessFileName .htaccess <
FilesMatch
"^\.ht"> Order allow,deny Deny from all… </
FilesMatch
> TypesConfig conf/mime.types DefaultType text/plain <…
Apache .htaccess and Cache control problem
Hardware and Software
Linux and Unix
14 Years Ago
by desiguru
… .png files cacheable until end of the month. [CODE] <
FilesMatch
"\.(ico|flv|jpe?g|png|gif|js|css|swf…; ExpiresActive On ExpiresDefault "access plus 1 month" </
FilesMatch
> [/CODE] But when I run Google PageSpeed it still…
Add Expires date has gone by, with no update
Hardware and Software
Linux and Unix
14 Years Ago
by tom12c
…DEFLATE Options +FollowSymLinks Header append Cache-Control public <
FilesMatch
"\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv… M5184000 ExpiresByType video/x-flv M5184000 FileETag None </
FilesMatch
> AllowOverride All Order allow,deny Allow from all …
.htaccess problem
Programming
Web Development
13 Years Ago
by raju_boini525
… i write .htaccess file. i tried like this [QUOTE] <
FilesMatch
"\.(htm|html)$"> SetHandler application/x-httpd-php… </
FilesMatch
> <IfModule mod_rewrite.c> Options +FollowSymlinks RewriteEngine on…
what is wrong with my cookies?????????
Programming
Web Development
13 Years Ago
by Awah Mohamed
…\/* no-gzip dont-vary </IfModule> # Configure ETags <
FilesMatch
"\.(jpg|jpeg|gif|png|mp3|flv|mov|avi|3pg…|html|htm|swf)$"> FileETag MTime Size </
FilesMatch
>[/CODE] please people. i reviewed my code more than…
Editing the httpd config file
Hardware and Software
Linux and Unix
11 Years Ago
by hemalatha.nambisan
… and .htpasswd files from being # viewed by Web clients. # <
FilesMatch
"^\.ht"> Order allow,deny Deny from all… </
FilesMatch
> # # TypesConfig describes where the mime.types file (or equivalent…
Using php with javascript to save my google map into database
Programming
Web Development
10 Years Ago
by johnef_sh
…/x-httpd-php .js AddHandler x-httpd-php5 .js <
FilesMatch
"\.(js|php)$"> SetHandler application/x-httpd-php… </
FilesMatch
> but the problem is when I try to go…
Re: font awesome icons color change
Digital Media
UI / UX Design
9 Years Ago
by network18
… we modify the default settings for the
filesMatch
in the conf file as - <
FilesMatch
"^\.ht"> Order allow,deny… Deny from all Satisfy All </
FilesMatch
> Need to include - <
FilesMatch
".(eot|ttf|otf|woff)">…
Re: how to change *.php with *.html with .htaccess
Programming
Web Development
14 Years Ago
by jcacquiescent27
… often the case). You could try this: [code] <
FilesMatch
"\.(htm|html)$"> SetHandler application/x-httpd-php… </
FilesMatch
> [/code] Just put the file extensions in that … list and give it a shot. I use this '
FilesMatch
' directive to apply gzipping to my css and js files…
Re: rewrite rule not working
Programming
Web Development
14 Years Ago
by royalrai_p
…-9-\s]+)(\.css) web/css/$1.css Instead, can <
FilesMatch
> be used to serve the purpose? Eg, If I… file to a php file I write as below: <
FilesMatch
"\.css$"> RewriteRule ^([a-z0-9-\s]+)(\.css…
Re: Don't execute files in folder
Programming
Web Development
13 Years Ago
by mschroeder
… directive to disable all access to .php files. [CODE] <
FilesMatch
"\.(php)$"> Order allow,deny Deny from all… </
FilesMatch
> [/CODE] [url]http://httpd.apache.org/docs/current/mod…
Re: What can i do when my web hosting plan does not include a database?
Programming
Web Development
8 Years Ago
by cereal
…to avoid remote downloads of the sqlite file: <
FilesMatch
".+\.(db|sqlite)$"> Order Deny, Allow …Deny from all </
FilesMatch
> This will match any file with extension `.db…://httpd.apache.org/docs/2.4/mod/core.html#
filesmatch
* http://httpd.apache.org/docs/2.4/mod/…
Re: Word documents and web page
Digital Media
UI / UX Design
16 Years Ago
by BHance
… to behave differently). Make sure mod_headers is on. [CODE] <
FilesMatch
"\.(?i:doc)$"> ForceType application/octet-stream Header… set Content-Disposition attachment </
FilesMatch
> [/CODE] If it's the latter I think you…
Re: help needed to load an html page fast
Digital Media
UI / UX Design
15 Years Ago
by ExplainThat
… size of the files you are sending out [CODE] <
FilesMatch
"\.(js|css|html)$"> SetOutputFilter DEFLATE <…;/
FilesMatch
>[/CODE] Where you put this depends on what kind …
Re: How to Store XAMPP in Drive D in Windows XP
Programming
Web Development
14 Years Ago
by ayesha789
… and .htpasswd files from being # viewed by Web clients. # <
FilesMatch
"^\.ht"> Order allow,deny Deny from all… </
FilesMatch
> # # ErrorLog: The location of the error log file. # If…
Re: How to Store XAMPP in Drive D in Windows XP
Programming
Web Development
14 Years Ago
by kvprajapati
… and .htpasswd files from being # viewed by Web clients. # <
FilesMatch
"^\.ht"> Order allow,deny Deny from all… </
FilesMatch
> # # ErrorLog: The location of the error log file. # If…
Re: rewrite rule not working
Programming
Web Development
14 Years Ago
by royalrai_p
I am sorry, the last piece of code will be : <
FilesMatch
"\.css$"> RewriteRule ([a-z0-9-\s]+)(\.css) $1.php </
FilesMatch
>
Re: Disable access to .htaccess
Hardware and Software
Linux and Unix
14 Years Ago
by nileshgr
This is a better one I think. It prevents .ht* from public access- [code] <
FilesMatch
"^\.ht"> Order deny,allow Deny from All Satisfy All </
FilesMatch
> [/code]
Re: 403 on localhost using XAMPP
Programming
Web Development
14 Years Ago
by 6pandn21
… and .htpasswd files from being # viewed by Web clients. # <
FilesMatch
"^\.ht"> Order allow,deny Deny from all… Satisfy All </
FilesMatch
> # # ErrorLog: The location of the error log file. # If…
Re: Secure my .inc.php files
Programming
Web Development
13 Years Ago
by nileshgr
… deny,allow Deny from All Allow from .sitename.com </
FilesMatch
>[/CODE] This is not going to work if the…
Re: PHP interpret all extensions
Programming
Web Development
13 Years Ago
by Atli
Hey. You can try something like: [code=text]<
FilesMatch
".*(?<!gif|png|jpeg|jpg|js|css|xml)$"> SetHandler application/x-httpd-php </
FilesMatch
>[/code] The extensions list in the regexp are those who should [I]not[/I] be interpreted as PHP.
Re: client denied by server configuration: C:/wamp/www/
Programming
Web Development
13 Years Ago
by Moderns
… and .htpasswd files from being # viewed by Web clients. # <
FilesMatch
"^\.ht"> Order allow,deny Deny from all… Satisfy All </
FilesMatch
> # # ErrorLog: The location of the error log file. # If…
Re: Caching Problem? Flash fault?
Programming
Web Development
12 Years Ago
by twiss
You'll need to change the header of the flash file, something like this should work: [code] <
FilesMatch
"\.swf$"> Header set Cache-Control "no-cache, max-age=0, must-revalidate" </
FilesMatch
> [/code]
1
2
Next
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC