Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
.htaccess and fuelphp (frontend/backend)
  • I'm a bit lost using the .htaccess file. The initial file is pretty good but i want to do the next thing:

    www.domain.com runs ftp/domain/www/frontend.php
    backend.domain.com runs ftp/domain/www/backend.php

    Yup, there is no index.php file. This way i keep my request url free of 'www.domain.com/backend/etc'. I don't want the backend in there. I want my client to be able to access the backend by a subdomain.

    Before i break anything; What do i need to change inside the .htaccess file to accomplish this type of setup? Thanks in advance.

  • Never mind, i found a way:

    image

    (by the way, we really need syntax highlighting for code on the forums)

Howdy, Stranger!

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

In this Discussion