-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nginx conf for phpredmin #62
Comments
This config posted by author works for me. Hope it helps. |
@psokolov Does the problem still exist? |
Hi, I still have a problem with my nginx setup. Can you please tell me the rewrite I have to setup ? Urls are like : index.php / Action_Name / info / 0 / 0 ? param = ... thanks |
i have the same problem |
Here a idea (ongoing progress) nginx conf setup inside a already php-fpm server to serve at www.mydomain.com/phpredmin that worked for me:
|
my solution is just replacing or you drop |
Finally here my nginx config that work well to serve http://www.mydomain.com/phpredmin/
Notice: to work the
|
Is this really necessary? I mean unless you really want a different url than www.example.com/phpredmin/public/index.php ? I just threw it into the web root (as per the installation instruction) and it seems to work. Or what am I missing? |
@matinfo hey i tried your script and it worked.. now, how can i modify it in in order that the application answers me when i digit www.mydomain.com instead of http://www.mydomain.com/phpredmin/? |
@iFedix not sur with the project structure of phpredmin is possible. Workaround add permanent redirection from / to /phpredmin.
-- Or copy content of /public to /var/www/phpredmin and change some location like Not tested! |
@matinfo thank you! :D |
What a mess! it took me a couple of hours to get this configured in ngninx... It makes no sense this piece of software to require so much configuration. Anyway, @matinfo solution worked, but I had to remove the last bracket (location ~ ^/phpredmin/(.+.(js|css|png|jpg|gif|ico))$), otherwise CSS files wouldn't load. |
Hi, thank You for admin panel! Could you post the configs for Nginx, router.php is not simple to fix the rewrite location rules. URLs look like /index.php/welcome/index/0/0 and so by default script_name is /index.php/welcome/index/0/0. What is the reason to use such complicated URIs?
The text was updated successfully, but these errors were encountered: