tagged [mod-rewrite]

No input file specified

No input file specified I'm running [Anchor CMS](http://anchorcms.com/) and I just upgraded to version 0.8. When I try and run the installer I get a 'No input file specified' error. I believe it's mor...

How to use apache's mod_rewrite rewriterule without changing relative paths

How to use apache's mod_rewrite rewriterule without changing relative paths I've the following rewrite rule in .htaccess: This takes something like www.example.com/groups/groupname and calls www.examp...

11 Jan at 12:44

Apache RewriteRule .* index.php [NC,L] Not working

Apache RewriteRule .* index.php [NC,L] Not working I am trying to redirect everything to a single page from my /website/folder/ directory. I added a simple .htaccess with this simple code (I know this...

.htaccess Rewrite Rules for subdomain

.htaccess Rewrite Rules for subdomain I use codeigniter as my main install on the main domain. I have created a subdomain and a folder called live e.g. live.domain.com maps to public/live . However in...

How do I make mod_rewrite suppress processing more rules?

How do I make mod_rewrite suppress processing more rules? Given my current .htaccess file, how would I modify it to check for an additional URL path like '/src/pub/' without affecting the current rewr...

2 Feb at 13:24

.htaccess directives to *not* redirect certain URLs

.htaccess directives to *not* redirect certain URLs In an application that heavily relies on `.htaccess` RewriteRules for its PrettyURLs (CakePHP in my case), how do I correctly set up directives to e...

4 Dec at 07:42

Problem redirecting 403 Forbidden to 404 Not Found

Problem redirecting 403 Forbidden to 404 Not Found The pertinent part of my .htaccess looks like this: And it's generating the following responses: - - - I can tell by looking at my pattern that probl...

How do I fix default CakePHP routing on a "baked" MVC?

How do I fix default CakePHP routing on a "baked" MVC? I just set up a database according to CakePHP's conventions, ran the "bake" scripts for models, controllers and views, and made sure the path was...

21 Sep at 21:7

Getting a 500 Internal Server Error (require() failed opening required path) on Laravel 5+ Ubuntu 14.04

Getting a 500 Internal Server Error (require() failed opening required path) on Laravel 5+ Ubuntu 14.04 I have installed Laravel many times on Windows OS but never had this problem. However, on Ubuntu...

how to redirect to different domain based on complex subdomain conditions

how to redirect to different domain based on complex subdomain conditions I'm trying to do something somewhat complex with limited regex and htaccess understanding. Say I have a domains like: (h remov...

1 Feb at 16:22

How to check whether mod_rewrite is enable on server?

How to check whether mod_rewrite is enable on server? Currently I am using the hosting with server. Hosting says `mod_rewrite` is enabled but I can't get my script working there. Whenever I try to acc...

Forbidden You don't have permission to access / on this server

Forbidden You don't have permission to access / on this server All I wanted to do today was to write a redirect rule to a subfolder, e.g.: You enter the URL: and you get redirected to Such a simple wi...

How to use .htaccess in WAMP Server?

How to use .htaccess in WAMP Server? I searched in web for 2 days and I try to use htaccess in my local wamp but I can't! I know there is something wrong but I don't know where... I activated "" in th...

26 Jun at 21:31

How to use apache mod_rewrite and alias at the same time?

How to use apache mod_rewrite and alias at the same time? I have a directory outside the webroot that is used for storing images uploaded from a separate admin system. Images are stored in this format...

6 Dec at 15:18

.htaccess mod_rewrite problem - shot myself in the foot?

.htaccess mod_rewrite problem - shot myself in the foot? I have a page called category.php5 that uses $_GET["category"] to fetch the right content from the database. I want to pretty it up so is looks...

Tips for debugging .htaccess rewrite rules

Tips for debugging .htaccess rewrite rules Many posters have problems debugging their RewriteRule and RewriteCond statements within their `.htaccess` files. Most of these are using a shared hosting se...

20 Jun at 09:12

Htaccess: add/remove trailing slash from URL

Htaccess: add/remove trailing slash from URL My website runs a script called -> WSS wallpaper script -> I have been trying to force remove or add trailing slash to the end of my URL to prevent duplica...

18 May at 16:9