PeeHaa / OpCacheGUI

GUI for PHP's OpCache
1.46k stars 170 forks source link

Subdirs #30

Closed Mikanoshi closed 9 years ago

Mikanoshi commented 9 years ago

What if I'm using mod_php and don't want to create separate subdomain for this script? Extremely overcomplicated structure for such simple stuff... Bootstrap? Routes? I just wanna drop it to sub-subdir on my site and that's all, but it doesn't recognize routes that way... For 0.0.2 version I wrote .htaccess rewrite rules to redirect all requests from subdir/ to subdir/public/ and it was working fine. How to adapt 1.0.0-dev for random paths?

PeeHaa commented 9 years ago

For 1.0 I almost have finished the fix for this.

Will release 1.0-dev this weekend.

Also note that if you are looking for simple I link the opcache GUI of Rasmus in the readme: https://github.com/rlerdorf/opcache-status

Mikanoshi commented 9 years ago

No, I want this one (with APCu and cool new UI :)), but with simple drop-to-any-folder-and-forget installation. Parent path is protected by .htpasswd, so I just put different scripts in subfolders.

Mikanoshi commented 9 years ago

1.0RC still shows "No route matches", maybe it needs some other .htaccess entries?

PeeHaa commented 9 years ago

@Mikanoshi Did you setup the project to use query strings instead?

https://github.com/PeeHaa/OpCacheGUI/wiki/Installation#setting-up-the-project

Mikanoshi commented 9 years ago

Working fine with query strings

PeeHaa commented 9 years ago

Thanks for testing @Mikanoshi!