PDA

View Full Version : Relation of root directory and EE folder?


Jussuff
30th of October 2006 (Mon), 06:00
Hi,
after I upgraded last night from 1.5 --> 2.0 with almost no major problems, I am happy my gallery is working so smoothly. Pekka did a great job with this piece of software!!!
I am still a little confused with the "structure/groups/..." thing etc. but practising with it will guide me forward, I am sure. ---

It might be a beginners question in terms of website organisation, but who could give me a hint regarding the following: I installed the new version of the exhibit engine in the folder "/mywebsite/EE2/". When I now call my website url ("www.mywebsite.com") I receive a error message of course, as the "index.php" of EE is located in the other folder. How can this be solved? :confused:

Best regards,
J.

MikeCaine
30th of October 2006 (Mon), 06:09
Assuming your root folder doesn't contain any front page for your site you could save the following as index.html and put it in your root folder

<html>
<head>
<meta http-equiv="REFRESH" content="0; URL=http://www.mywebsite.com/EE2">
</head>
</html>

wkitty42
30th of October 2006 (Mon), 12:30
yep... that's one way... just make sure that you don't typoe it!

i also actually like to put in a little something along with a bit of a delay...

<html>
<head>
<meta http-equiv="REFRESH" content="30; URL=http://www.jot-gallery.com/EE2/">
</head>
<body>
Redirecting you in 30 seconds. If it doesn't work,
<a href="http://www.jot-gallery.com/EE2/">Click Here</a>
</body>
</html>


note the 30 second delay as well as a displayed and clickable url that is properly spelled ;)

i've also found it to be much nicer on traffic if one puts in a trailing "/" when they are linking to a directory... this keeps the server from having to reply with a code 301 redirecting to the proper url that does contain the training "/" :cool:

Jussuff
30th of October 2006 (Mon), 14:16
Dear all,

I know why I love this forum! There are so many nice people out there helping eachother and sharing their knowledge. This is really great. Thank you all! :)

Just to confirm: Yes, the reason was the wrong typo of the url with the "jot-gallery.com.com" at the end. :o :oops:

Now, I can start to customize my new EE2! Thanks again.
Best,
Josef