Web Hosting Talk







View Full Version : .htaccess Config Tools


Tiggy
12-02-2002, 02:58 PM
I am in the process of developing some .htaccess configuration tools. Unfortunately (and rather ironically) I do not have access to an Apache server on which to test out the code that they generate.

The purpose of the tools is to help the inexperienced webmaster to generate the code (complete with instructions) needed to configure their site in a particular way. At the moment I have developed redirection (http://websiteowner.info/tools/htaccess/redirection.asp) and hotlink prevention (http://websiteowner.info/tools/htaccess/hotlinkprevention.asp) tools, with a custom error tool and access restriction tool currently in development.

I would appreciate any comments, suggestions and errata you might wish to share (be it with code generated or the interface). The tools are to compliment my relatively sucessful article on hotlinking (if you use CPanel, you might have read it!). I'm particularly interested in checking the accuracy of code generated to work between directories and servers - both optimised and none optimised versions.

Please be aware that these tools are not live on the site as yet (I don't want to give my visitors incorrect code if possible). But I would appreciate your help to check things are on the right track.

If you have any suggestions, they will be most welcome. FYI the code generated was based on a particularly interesting page I found on Mod_rewrite (http://www.engelschall.com/pw/apache/rewriteguide/).

Update: I have just fixed the problem that prevented the Redirection tool loading properly - apologies to anyone that tried to use it while it was broken...

Tiggy
12-04-2002, 01:51 PM
Sorry to bump my own thread - but I was hoping that the hosts that hang around here at WHT would be my best source for feedback. :(

Does anyone have any comments or feedback?

MarkIL
12-04-2002, 02:12 PM
After trying out the "Rewrite by extension" creator:
(Right below the resulting textarea)

Microsoft VBScript runtime error '800a000d'
Type mismatch: 'copyButton'
/tools/htaccess/redirection.asp, line 58

Tiggy
12-04-2002, 02:26 PM
Thanks for that lewney, little glich when switching from ASP to HTML that should now be fixed.