thecodingmachine / mouf

The Mouf PHP framework: an open-source PHP framework providing an easy way to download, install, use and reuse components, with a graphical user interface.
MIT License
54 stars 28 forks source link

can i use nginx for mouf fw ? #79

Open seekmas opened 10 years ago

seekmas commented 10 years ago

here is the warning : It is likely that your Apache server has been configured to ignore the .htaccess files. Please dive into your Apache configuration and look for a AllowOverride directive. You should set this directive to: AllowOverride All.

You can follow the installation document if you need help.

moufmouf commented 10 years ago

Hi seekmas,

As stated in the documentation, so far, to run Mouf, you will need Apache.

This is because Mouf generates .htaccess files that are only used by Apache.

I understand many of you out there are using Nginx, and that it might be a good idea to add Nginx compatibility. I'll first focus on releasing the 2.0 version, and we'll try to offer Nginx compatibility for Mouf 2.1. In the meanwhile, you will have to use Apache or convert Mouf's .htaccess file (in /vendor/mouf/mouf) to a valid Nginx configuration file (which might be a bit tricky).

seekmas commented 10 years ago

Reply to @moufmouf : I got it , mouf is very cool , thank you . I'm looking for v2.0 release .

moufmouf commented 9 years ago

For future reference when Nginx support is added:

There is a "docker-mouf" docker instance with partly configured Nginx support for Mouf available here: https://github.com/NikoWoot/docker-mouf

NikoWoot commented 9 years ago

Hi, My docker Mouf isn't in final version, but I had make lot of changes in my Nginx configuration. For me, Mouf work in my docker (Nginx + Php Fpm), I don't have test with HHVM but it's a good idea.

I try to commit my changes during week. Bye.

NikoWoot commented 9 years ago

My changes is commit,

Have fun, NikoWoot.