Share » Forums » Developer » renaming index.php / making a site go...

renaming index.php / making a site go public?

renaming index.php / making a site go public?

Wednesday 16 August 2006 1:29:48 am - 3 replies

Author Message

Clemens T

Wednesday 16 August 2006 1:36:18 am

I'd say, use: .htpasswd for protecting your directory and remove it when you 'go live'.

If you want to rename your index.php file, I think you have to change the redirections in .htaccess as well (off the head).

Greets,
Clemens

Jan Fuelscher

Wednesday 16 August 2006 2:56:27 am

Thanks for the quick reply.

Maybe I need to explain a bit more. I currently have a number of sites using PHP/MySQL and, of course, using index.php as main entry. I'd like to move them to Ez over time.

However, I don't see yet a way how to achieve this without a complicated directory move, so I had the idea of just using a different index.php, e.g. index-ez.php. I then could implement the site with eZ, have my users starting to fill it with content, etc.

Once we're finished, I just remove the old index.php and rename index-ez.php to index.php. I'd have very little downtime and almost no risk of something going wrong.

Is this possible? Or is there a better way?

Jan Fuelscher

Wednesday 16 August 2006 2:58:22 am

... or I could rename my current index.php to index-old.php, adjust .htaccess and then go life with a quick fix to .htaccess...

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu