Error with 'root' route on install

sjheil | 3 years ago

I installed recess on a XAMPP server in a 'recess' folder under htdocs root, and browsed to the recess pages, and I notice that all of the routes are prefixed with '/recess/index.php'. In fact, that is the 'root' instead of '/', as seen here:

Route Prefix: /
HTTP Route Controller MethodGET /recess/index.php WelcomeHomeController index

Did I do something wrong? I only changed database login information in the config file.

I'd prefer the 'root' for all of my apps to be '/' instead of '/recess/index.php'.

As it is now, my newly-created app has a default root of '/recess/index.php/APP', where I want '/APP'.

Any help would be appreciated!

-Steve-



KrisJordan | 3 years ago

Steve -

It looks like you may need to enable htaccess in Apache. Recess comes with a .htaccess file that rewrites requests so that they do not have to go through index.php.

http://ubuntuforums.org/showthread.php?p=1198074

For your specific install you'll likely need to change the httpd.conf or a virtual host conf and AllowOverride All.

reply



Welcome KrisJordan!

Web: http://www.krisjordan.com/

Location: North Carolina

Edit Profile