Hot answers tagged

8

For wamp 2.5 on Windows, use a text editor, e.g. notepad++ to edit c:\wamp\bin\apache\apache2.4.9\conf\httpd.conf Change DocumentRoot "c:/wamp/www" to DocumentRoot "c:/my/new/path" (Note slash direction). This will change the location where files are served from (~Line 230). Change <Directory "c:/wamp/www"> to <Directory "c:/my/new/path"> (...


1

Let me make your question a little simpler.. :) What ? Send 200 response instead of 304 How ? Just add this configuration in your Apache setup. <filesMatch "\.(xml)$"> FileETag None <ifModule mod_headers.c> Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Pragma "no-...


1

The RewriteBase directive controls the path prefix (the base URL) that is added back when you have a relative path substitution in the RewriteRule. The following (index.php) is a relative path substitution: RewriteRule ^ index.php [L] If you don't explicitly state the RewriteBase then the per-directory prefix (the filesystem path that lead to this ....



Only top voted, non community-wiki answers of a minimum length are eligible