Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
vhost config/.htaccess for nonstandard setup
  • Hello,

    I was wondering if anyone had any advice for setting up vhosts/.htaccess for setting up fuel in a nonstandard way.  I think the best way to describe it would be like so:

    Instead of the fuel instance being stored at:
    www.application.com

    It'd be at:

    www.website.com/application

    I'm dancing around the files a bit and trying some different things, but if anyone had a pointer or two I'd very much appreciate it.

    Thanks.
  • HarroHarro
    Accepted Answer
    You want to install FuelPHP in a subfolder?

    That is not a problem whatsover, just install it there, then move everything in ./application/public one folder up, to ./application, as you don't need a docroot mount point anymore.

    After that, http://www.website.com/application should just give you the welcome controller, as always.
  • And change the index.php and boom.  Thank you Harro.  Appreciate the help, it's so common sense, but sometimes you end up down the completely wrong rabbit hole, y'know?
  • :-)  Glad to hear you've got it sorted.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion