[Solved] mod_rewrite directory?
Posted: Sun Aug 16, 2009 5:03 pm
in my .htaccess:
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:
but my correct directory is:
where can i change this?
*edit*
i also tried, in my httpd.conf:
with no success.
*edit*
this worked, putting it in my httpd.conf:
Code: Select all
RewriteRule ^edit/layout$ edit_layout.phpCode: Select all
The requested URL /home/admin/public_html/edit_layout.php was not found on this server.Code: Select all
/home/admin/domains/sleekupload.com/public_html/*edit*
i also tried, in my httpd.conf:
Code: Select all
ScriptAlias /home/admin/public_html/ /home/admin/domains/sleekupload.com/public_html/*edit*
this worked, putting it in my httpd.conf:
Code: Select all
<IfModule alias_module>
Alias /home/admin/public_html/ /home/admin/domains/sleekupload.com/public_html/
</IfModule>