- Moderated by:
- Support Team
-
- rank:
-
Freshman
- registered:
- January 2003
- Status:
- offline
- last visit:
- 28.02.06
- Posts:
- 39
I have PN up, running and I am really impressed. It is great. I installed it in a sub-directory on the site named: "/index_pn/". My question is this. How should I "go-live"? I want to keep the location of the installation as-is, and have the index.php execute as if it is in the root.
To do this I placed this into .htaccess: (at the root for the web pages)
"DirectoryIndex /index_pn/index.php"
And this works to a point... But when I attempt to log-in it seems that the system is assuming that PN is in the root of the site and does not use the sub-directory spec. I understand that this is a basic stupid question, but I can't seem to find an answer anywhere else.
Any help is appreciated...
RAC -
- rank:
-
Helper
- registered:
- May 2002
- Status:
- offline
- last visit:
- 18.09.06
- Posts:
- 187
If you don't want to move the PN installation (I can understand your worries here - but it should be really easy to move them all in one go without any problems - I just did this with one site where my hos provides CPanel and the move can be done with onc click using File Manager) then another solution could be:
1) An HTML splash page that loads quickly and gives them an entry button to press (very useful if you change something and want to check if it is the PN install or the site that is down, and it also gives the user a fast loading front page that lets them know things are happening;
2) An HTML splash page that automatically redirects after x seconds using JavaScript - may be a problem if they have disabled JavaScript on their systems;
3) A combination of the above... allows for automation, or a button if js is disabled...
Personally I would move the files. It was a lot easier than I realised! -
- rank:
-
Freshman
- registered:
- January 2003
- Status:
- offline
- last visit:
- 28.02.06
- Posts:
- 39
The main reason I want to leave PN in the sub-directory is that the root is so full of crap that it is really a major problem keeping things straight. This is an existing site which I am converting over and it has been up for years and years. They don't want anything removed... I wanted to have a "clean" place to work where I could keep track of everything. -
- rank:
-
Helper
- registered:
- December 1969
- Status:
- offline
- last visit:
- 15.12.03
- Posts:
- 173
Keep in mind the carpenter's adage, "meaure twice, cut once." It's sage advice to plan ahead and get it right the first time. I think yoiu'll end up regretting having PN installed in anything other than the root directory. You'd have about 17 PHP files along with all the directories added to the root directory.
My original installation of PN was in a subdirectory named PN,. It was neat and tidy and it didn't take me very long to discover it wasn't practical. I moved it to the root directory.
I think you might want to reconsider your decision before the site goes live and it is too late.
