The requested URL /projects/mysite/public_html/index.php/Some-URI-Segments was not found on this server.
Created
April 17, 2012 21:39
-
-
Save jehoshua02/2409253 to your computer and use it in GitHub Desktop.
trying to get apache alias to play nice with rewrite ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alias /mysite/ "d:/projects/mysite/public_html/" | |
Alias /mysite "d:/projects/mysite/public_html/" | |
<Directory "d:/projects/mysite/public_html/"> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride all | |
Order allow,deny | |
Allow from all | |
</Directory> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^localhost$ [NC] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ index.php/$1 [L] | |
# ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127.0.0.1 - - [17/Apr/2012:15:51:23 --0600] [localhost/sid#955150][rid#1e10ab0/initial] (3) [perdir D:/projects/mysite/public_html/] strip per-dir prefix: D:/projects/mysite/public_html/Some-URI-Segments -> Some-URI-Segments | |
127.0.0.1 - - [17/Apr/2012:15:51:23 --0600] [localhost/sid#955150][rid#1e10ab0/initial] (3) [perdir D:/projects/mysite/public_html/] applying pattern '^(.*)$' to uri 'Some-URI-Segments' | |
127.0.0.1 - - [17/Apr/2012:15:51:23 --0600] [localhost/sid#955150][rid#1e10ab0/initial] (4) [perdir D:/projects/mysite/public_html/] RewriteCond: input='localhost' pattern='^localhost$' [NC] => matched | |
127.0.0.1 - - [17/Apr/2012:15:51:23 --0600] [localhost/sid#955150][rid#1e10ab0/initial] (4) [perdir D:/projects/mysite/public_html/] RewriteCond: input='D:/projects/mysite/public_html/Some-URI-Segments' pattern='!-f' => matched | |
127.0.0.1 - - [17/Apr/2012:15:51:23 --0600] [localhost/sid#955150][rid#1e10ab0/initial] (4) [perdir D:/projects/mysite/public_html/] RewriteCond: input='D:/projects/mysite/public_html/Some-URI-Segments' pattern='!-d' => matched | |
127.0.0.1 - - [17/Apr/2012:15:51:23 --0600] [localhost/sid#955150][rid#1e10ab0/initial] (2) [perdir D:/projects/mysite/public_html/] rewrite 'Some-URI-Segments' -> 'index.php/Some-URI-Segments' | |
127.0.0.1 - - [17/Apr/2012:15:51:23 --0600] [localhost/sid#955150][rid#1e10ab0/initial] (3) [perdir D:/projects/mysite/public_html/] add per-dir prefix: index.php/Some-URI-Segments -> D:/projects/mysite/public_html/index.php/Some-URI-Segments | |
127.0.0.1 - - [17/Apr/2012:15:51:23 --0600] [localhost/sid#955150][rid#1e10ab0/initial] (1) [perdir D:/projects/mysite/public_html/] internal redirect with D:/projects/mysite/public_html/index.php/Some-URI-Segments [INTERNAL REDIRECT] | |
127.0.0.1 - - [17/Apr/2012:15:51:23 --0600] [localhost/sid#955150][rid#1e191f0/initial/redir#1] (2) init rewrite engine with requested uri /projects/mysite/public_html/index.php/Some-URI-Segments | |
127.0.0.1 - - [17/Apr/2012:15:51:23 --0600] [localhost/sid#955150][rid#1e191f0/initial/redir#1] (1) pass through /projects/mysite/public_html/index.php/Some-URI-Segments |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment