Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Installation & Setup
can I install FUelPHP in sub-URI
I have an app located in
Can I install FuelPHP app located in
can I somehow do that..,
I Try to change index.php from
I can access the homepage, but not the other URL.
did I miss some setup ???
Yes, you can.
Have you followed all instructions from
So your addon folder now contains your index.php and the .htacess, and there is no more public directory?
public folder is deleted, but I dont understand about .htaccess
the docs says that I should put .htaccess in one higher folder
so I do
-fuel --> the apps folder
-www/html --> I create .htaccess here as documented in docs
addon --> every file inside public folder, including original .htaccess
however if I access
Yes correct, so the addon folder should contain both your index.php and your .htaccess, both were originally in public.
If you request /addon/admin, it will generate a not-found, and your htaccess rewrite rules will pick it up and rewrite it to index.php.
If that doesn't happen, it could be that your htacess isn't picked up at all. This can be tested very easily, by making a syntax error in it (just add a blank line with a random letter), if you get a 500 server error when you request the root of your site, your htaccess works. If the page loads, your htaccess file is ignored.
Just double checked here, I have dozens of sites running like this on my laptop for test purposes. For all I just copied the public folder contents and changed the paths in index.php, nothing more.
I try to test by making syntax error.., but it seems that htaccess is ignored.
I try to search on google how to activate it.., and most of them say that I just need to add
for temporary, I can add index.php to wherever link or controller need to redirect. But it feels "weird"
while I try to search for solution, but
can you give some advice
If your htaccess is ignored, check
for possible solutions.
On any modern apache installation, it's probably the AllowOverride that isn't correct.
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion