Welcome Guest, Not a member yet? Register   Sign In
URL Rewrite with Ape Manager
#1

[eluser]next2heaven[/eluser]
So I installed the Ape Manager (see here) on my IIS7 server and it's using the .htaccess file below:


Code:
RewriteEngine On

#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^/(.*)$ /index.php?/$1 [L]

#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond C:/Inetpub/vhosts/<mydomain>.com/httpdocs%{REQUEST_FILENAME} !-f
RewriteCond C:/Inetpub/vhosts/<mydomain>.com/httpdocs%{REQUEST_FILENAME} !-d
RewriteRule ^/(.*)$ /index.php?/$1 [L]

(<mydomain> being my domains name obviously)


But i can't seem to get the page working. It works locally and know that the issue is with the rewriting. Any ideas?




Theme © iAndrew 2016 - Forum software by © MyBB