I've done some searching but can't seem to find anything good. Any suggestions for a short url script to create a redirection service for users? The only requirements I had in mind were: admin control panel, people can choose their own directory, and directory based rather than subdomain. Free or reasonable cost are fine.
A permanent redirect is specified in the httpd documentation as a 301 redirect. Temporary redirects use the code 302. to learn When To Use Temporary and Permanent Redirects view this redirect guide with code.
Alternatively you could set up some kind of PHP/Javascript redirect. From what it sounds like you want to do you would take this attack plan: (Granted, all PHP.) -Signup Form -> Database -Admin Panel -Within it you would have the user create the directory (PHP's mkdir can accomplish this.) - Then once that is made, you create a new file named index within that directory that would redirect to the right location. Just a guess. If you are looking for someone to do it I'm always open to working/consulting -Jim
Yes, along those lines, but not something where I have to verify each one. Something like http://doiop.com/
You would need to setup an htaccess file, directing all access of ANY subdomain to a script as X variable.. The script would then pull data from a database, flatfile or however you want to store the data and then redirect using either a header() function, or you could include the site in a frame to generate revenue.
I use http://get-shorty.com/ for redirects on my site and I think it's fabulous. It looks like it could be easily modified for multiple users.
http://www.glype.com/products/urlshrtn/ Would that work? It gives you the option of subdomain, directory or file based URL formats, so you'd just need to select the directory format during the installation.