[email protected] 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? Link to comment https://forums.phpfreaks.com/topic/170556-solved-mod_rewrite-directory/ Share on other sites More sharing options...
[email protected] 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> Link to comment https://forums.phpfreaks.com/topic/170556-solved-mod_rewrite-directory/#findComment-899668 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.