Welcome Guest, Not a member yet? Register   Sign In
Newbie Error, migrating site & anything other than default controller won't fire
#20

[eluser]Guiseppi[/eluser]
Ok, I'm digging back in. Problem still exists (if anyone can help?)

So, with AWS running apache2 default setup, I've made the following adds/adjustments:

in httpd.conf:
Code:
LoadModule rewrite_module /usr/lib64/apache2/mod_rewrite.so

Under Virtual Server Configuration in httpd.conf:
Code:
Include /etc/apache2/vhosts.d/*.conf

Then I copied the /vhosts.d/vhost.template > /vhosts.d/mysite.com.conf & mapped the flle paths to my content correctly.
Now the mysite.com virtual host shows up via the domain. Great.

Now I test for mod_rewrite again - When I lookup phpinfo(); , mod_rewrite shows up under installed modules.

Next I add success.html in the folder for the content, and an almost empty .htaccess file:
Code:
<IfModule mod_rewrite.so>
RewriteEngine on RewriteRule .* success.html
</IfModule>

Mod_rewrite fails to redirect > success.html

I've tried this with as well, no go:
Code:
<IfModule mod_rewrite.c>
RewriteEngine on RewriteRule .* success.html
</IfModule>

PS: I can get success.html to show by hitting it directly via mysite.com/success.html so I know it's not a permissions issue.

Help, Any further ideas?


Messages In This Thread
Newbie Error, migrating site & anything other than default controller won't fire - by El Forum - 04-29-2011, 10:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB