I would suspect that it something covered by mod_rewrite rules or their equivalent.
Since we do not actually use Apache and mod_rewrite frustrates me to no end at the best of times, I have no real help that I can offer you with this; though if you want to make it not require mod_rewrite or something like it that would be very good.
Addon enhancements thread
Re: Addon enhancements thread
User:dak180
Keeper of the Mac Builds
Keeper of the Mac Builds
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Addon enhancements thread
Rewrite rules:
Code: Select all
rewrite ^/download/([a-z0-9/]*[^/]+)\.wz/?$ /index.php?p=download&file=/$1.wz last;
rewrite ^/map/([A-Za-z0-9/-]*[A-Za-z0-9-])/?$ /index.php?p=view&fullid=map/$1 last;
rewrite ^/mod/([A-Za-z0-9/-]*[A-Za-z0-9-])/?$ /index.php?p=view&fullid=mod/$1 last;
rewrite ^/unapproved\/map/([A-Za-z0-9/-]*[A-Za-z0-9-])/?$ /index.php?p=view&fullid=unapproved/map/$1 last;
rewrite ^/unapproved\/mod/([A-Za-z0-9/-]*[A-Za-z0-9-])/?$ /index.php?p=view&fullid=unapproved/mod/$1 last;
rewrite ^/([A-Za-z0-9-]+)/?$ /index.php?p=$1 last;
rewrite ^/([0-9.-]+)/?$ /index.php?p=$1 last;
rewrite ^/([A-Za-z0-9-]+)/([A-Za-z0-9/-]*[A-Za-z0-9-])/?$ /index.php?p=$1&sub=$2 last;
We want information... information... information.
Re: Addon enhancements thread
Except that none of those are what is actually being used (nothing in any of the .htaccess files is).cybersphinx wrote:Rewrite rules:Code: Select all
rewrite ^/download/([a-z0-9/]*[^/]+)\.wz/?$ /index.php?p=download&file=/$1.wz last; rewrite ^/map/([A-Za-z0-9/-]*[A-Za-z0-9-])/?$ /index.php?p=view&fullid=map/$1 last; rewrite ^/mod/([A-Za-z0-9/-]*[A-Za-z0-9-])/?$ /index.php?p=view&fullid=mod/$1 last; rewrite ^/unapproved\/map/([A-Za-z0-9/-]*[A-Za-z0-9-])/?$ /index.php?p=view&fullid=unapproved/map/$1 last; rewrite ^/unapproved\/mod/([A-Za-z0-9/-]*[A-Za-z0-9-])/?$ /index.php?p=view&fullid=unapproved/mod/$1 last; rewrite ^/([A-Za-z0-9-]+)/?$ /index.php?p=$1 last; rewrite ^/([0-9.-]+)/?$ /index.php?p=$1 last; rewrite ^/([A-Za-z0-9-]+)/([A-Za-z0-9/-]*[A-Za-z0-9-])/?$ /index.php?p=$1&sub=$2 last;
User:dak180
Keeper of the Mac Builds
Keeper of the Mac Builds
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Addon enhancements thread
They're from the server config. But if you think they're useless I'll remove them, less clutter.dak180 wrote:Except that none of those are what is actually being used (nothing in any of the .htaccess files is).
We want information... information... information.
Re: Addon enhancements thread
All those files are from when we used to use Apache, since everything is now served by nginx none of those are now used, but I have no idea how many of those rules have been ported to the nginx config files.cybersphinx wrote:They're from the server config. But if you think they're useless I'll remove them, less clutter.dak180 wrote:Except that none of those are what is actually being used (nothing in any of the .htaccess files is).
We should keep them until we are sure that we do not need them as references.
User:dak180
Keeper of the Mac Builds
Keeper of the Mac Builds
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Addon enhancements thread
I know.dak180 wrote:everything is now served by nginx
That's where I got them from.nginx config files.
We want information... information... information.
Re: Addon enhancements thread
Oh crap ... i should have installed nginx
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam