How do auto run a script ...

3x WHM VPS + Growing

I have a sub-domain, and under this I have a script in the cgi-bin called

To run this script in my browser I currently go
I have the SSL cert installed already.

I want to just go in my browser and have it automatically:

1. Redirect to https
2. Run the script in cgi-bin without me having to fully qualify the path to the script

Anyone know how I can set this.


Sydney, Australia
Depending on the server configuration you may try to either:

- use .htaccess to redirect requests:
RedirectMatch permanent ^/$

- create index.html file in the domain's home directory:

<meta content="0; url="" http-equiv="refresh">