Jump to content

jackmaessen

New Members
  • Posts

    6
  • Joined

  • Last visited

jackmaessen's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. yes it is enabled; there is a V sign for the line
  2. yes i am running it on WAMP, but in the httpd.config file, i removed the # sign from the line: LoadModule rewrite_module modules/mod_rewrite.so So modification rewrite must be enabled
  3. that also doesnt work my code: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php I tried also a space between } and \, but gives me a 500 server error RewriteCond %{REQUEST_FILENAME} \.php -f i have tried so many things, but nothing seems to work
  4. Hello, I am trying to remove my .php extensions with rewrite_mod. I use this code in my .htaccess file which is in the webroot: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)$ $1.php In my apache httpd.conf file, i removed the # sign from the LoadModule But it is still not working for me Can anyone tell me why it does not work?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.