ColdBox 3.6 - new laptop setup and issue with SES

HI folks,

I’m setting up a brand new OSX MacBook Pro and have installed ACF 10 on Apache. I migrated my files over to the new machine from the old laptop (which was using ACF 9.0.1) using Migration Assistant.

I had to make changes to my hosts, vhosts and httpd.conf since for some reason these didn’t get migrated.

I have a vhost setup called local.mysite.com. If I browse to the site the default page renders fine, however as soon as I try to go to local.mysite.com/myroute/ it throws an apache error saying the URL isn’t found on the server. I’m guessing this could just be a rewrite rule problem? Below is my .htaccess file

Options +FollowSymlinks
RewriteEngine on
#RepeatLimit 0

#SQL Injection Protection --Read More www.cybercrime.gov
#Please uncomment to use these rules if below words does not conflict with your friendly-urls. You may modify accordingly.
#RewriteRule ^.EXEC(@.$ /includes/templates/404.html [L,F,NC]
#RewriteRule ^.CAST(.$ /includes/templates/404.html [L,F,NC]
#RewriteRule ^.DECLARE.$ /includes/templates/404.html [L,F,NC]
#RewriteRule ^.DECLARE%20.$ /includes/templates/404.html [L,F,NC]
#RewriteRule ^.NVARCHAR.$ /includes/templates/404.html [L,F,NC]
#RewriteRule ^.sp_password.$ /includes/templates/404.html [L,F,NC]
#RewriteRule ^.%20xp_.$ /includes/templates/404.html [L,F,NC]

#if this call related to adminstrators or non rewrite folders, you can add more here.
RewriteCond %{REQUEST_URI} ^/(.(CFIDE|cfide|CFFormGateway|jrunscripts|railo-context|fckeditor)).$
RewriteRule ^(.*)$ - [NC,L]

#dealing with flash / flex communication
RewriteCond %{REQUEST_URI} ^/(.(flashservices|flex2gateway|flex-remoting)).$
RewriteRule ^(.*)$ - [NC,L]

#Images, css, javascript and docs, add your own extensions if needed.
RewriteCond %{REQUEST_URI} .(bmp|gif|jpe?g|png|css|js|txt|pdf|doc|xls|xml)$
RewriteRule ^(.*)$ - [NC,L]

#The ColdBox index.cfm/{path_info} rules.
RewriteRule ^$ index.cfm [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.cfm/%{REQUEST_URI} [QSA,L]

Any help on getting this resolved is greatly appreciated.

Thank you!

Nolan

Some questions:

Is that the same rewrite file you were using on your old machine?
Can you confirm it’s getting picked up?
Is mod_rewrite enabled?
Are overrides enabled for that directory so Apache will pick up the .htaccess file?
Have you restarted Apache?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Hi Brad,

Thanks for your email.

AllowOverride All was what was missing.

Cheers!

Nolan