JustinMs66@hotmail.com Posted August 16, 2009 Share Posted August 16, 2009 in my .htaccess: RewriteRule ^edit/layout$ edit_layout.php but it returns a 404, but not because the regex isn't working, its because its looking in the wrong directory and i don't know why: The requested URL /home/admin/public_html/edit_layout.php was not found on this server. but my correct directory is: /home/admin/domains/sleekupload.com/public_html/ where can i change this? Quote Link to comment https://forums.phpfreaks.com/topic/170556-solved-mod_rewrite-directory/ Share on other sites More sharing options...
JustinMs66@hotmail.com Posted August 16, 2009 Author Share Posted August 16, 2009 Nevermind, this worked. i put this in my httpd.conf: <IfModule alias_module> Alias /home/admin/public_html/ /home/admin/domains/domain.com/public_html/ </IfModule> Quote Link to comment https://forums.phpfreaks.com/topic/170556-solved-mod_rewrite-directory/#findComment-899668 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.