Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

.htaccess send requests to a subfolder's index.php

The answer that fixed my problem is:

RewriteEngine On

Options Indexes FollowSymLinks

RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php

It appears that the Multiviews was throwing it off.

Tags:

Php

.Htaccess

Mod Rewrite

Related

Does Exchange support disposable e-mail addresses? How to change "From:" field for emails from Cron? I get Killed by signal 15. when I'm using svn mysqldump doesn't create tables or import any data Can't start apache in linux, because of proxy module VNC viewer not connecting to Mac from Windows Problems with SCP stalling during file copy over VPN Redirect URL within Apache VirtualHost? How to backup a full Centos Server? Disk usage treemap software for headless Linux Adding a user to the local Administrator group using powershell Turning off cp (copy) command's interactive mode (cp : overwrite ?)

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy