Welcome To Snipplr


Everyone's Recent Snippets Tagged apache



1 1724 posted 17 years ago by iTony
Le hotlinking d'image consiste selon wikipédia : "à utiliser l'adresse d'un fichier publié sur un site web, le plus souvent une image, pour l'afficher sur un autre site, sur un blog, dans un forum, etc. En d'autres termes, au lieu d'enregistrer l'...
0 1541 posted 18 years ago by sebus
0 1685 posted 18 years ago by hdanniel
0 2015 posted 18 years ago by iTony
it needs the module mod_deflate
1 2126 posted 18 years ago by iTony
Example: ln -s /usr/local/apache/logs ./logs
3 3054 posted 18 years ago by jonhenshaw
Basic starting point for an Apache VirtualHost that points to a Symfony project being developed on MAMP
0 1756 posted 18 years ago by cburyta
remove the www usually located at the beginning of the url : www.url.com -> url.com http://www.url.com/file.html -> http://url.com/file.html http://www.url.com/directory/file.html -> http://url.com/directory/file.html etc...
1 2185 posted 18 years ago by bbnnt
1 1764 posted 18 years ago by burnsra
Use Apache's mod_expires to explicitly set the expiration of a file by it's type. This will enable to browser to cache these static assets and greatly increase performance.
1 2628 posted 18 years ago by cbrant
3 2421 posted 18 years ago by johnloy
0 1874 posted 18 years ago by estebant
Rewrite your urls for domain.co.uk to www.domain.co.uk including full url
3 2160 posted 18 years ago by catchamonkey
4 2264 posted 18 years ago by iTony
Rediccionamiento Apache desde una IP determinada y pidiendo una página concreta
0 1744 posted 18 years ago by estebant
Redirecciona una petición HTTP de Apache a una URL, salvo los que tenga una IP determinada.
0 1741 posted 18 years ago by estebant
ExpiresActive tells the apache2 to use the expires module. ExpiresDefault specifies the expire date for all mime-types in this directory. ExpiresByType specifies the expires date for the specified mime-type in this directory.
2 2324 posted 18 years ago by CharlyBr
After installing WordPress an .htaccess file with the following code needs to be added to the wp-includes folder.
1 1738 posted 18 years ago by m00min
Add this to an .htaccess file.
1 1858 posted 18 years ago by m00min
When Apache under OS X throws 'Forbidden' errors on files under the ~/Sites path, and the error log report 'Permission denied: access to /somefile/blah failed because search permissions are missing on a component of the path', check a missing Other E...
1 2433 posted 18 years ago by cczona
Forward users from your alias domains to your main domain automatically. Nice to have if your site has got one or more aliases. Notice that all the domain aliases have [NC,OR] at the end of the line, while the last alias and_so_on.com just has [NC]....
6 2410 posted 18 years ago by torkil
Using mod_rewrite in Apache to rewrite urls and force removal of www in urls. Good for letting search engine spiders in the right door... Insert the code in your .htaccess-file in your website's root folder.
3 2604 posted 18 years ago by torkil
Using mod_rewrite in Apache to rewrite urls and force users to use www in urls. Good for letting search engine spiders in the right door... Insert the code in your .htaccess-file in your website's root folder.
5 2771 posted 18 years ago by torkil
0 2277 posted 18 years ago by d3f0