OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Splash screen, where to put index.html?

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Splash screen, where to put index.html?

Postby mailmirza » Thu Jun 26, 2008 9:58 pm

Hi,
I am unable to use splash screen as told on page http://pkp.sfu.ca/files/docs/customizingojs/ar01s05.html.
Where do i need to put this index.html file (containing splash screen) in www directory . Please help.

Regards,
Kashif
mailmirza
 
Posts: 17
Joined: Tue Jun 17, 2008 8:00 pm

Re: Splash screen, where to put index.html?

Postby jmacgreg » Mon Jun 30, 2008 12:04 pm

Hi Kashif,

You should be able to put the index.html into the same directory as OJS: you should then have an index.html and an index.php file. If you do this and go to your OJS website and are not presented with index.html, you may have to reconfigure the order in which your server looks for default index files.

Cheers,
James
jmacgreg
 
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: Splash screen, where to put index.html?

Postby biomat » Tue Mar 31, 2009 9:24 pm

How do you "reconfigure the order in which your server looks for default index files" in Linux server CPanel?
biomat
 
Posts: 23
Joined: Wed Jul 23, 2008 11:07 am

Re: Splash screen, where to put index.html?

Postby jmacgreg » Wed Apr 01, 2009 11:14 am

Hi Biomat,

I haven't used cPanel before, so I'm not sure about that -- but what you're looking to do is actually tell Apache in which order to load/look for index files by extension. See http://davidwalsh.name/directory-index- ... e-htaccess for example -- the server will look for pages in order, so in that example, index.php would be loaded and index.html would be ignored if both were present.

Cheers,
James
jmacgreg
 
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: Splash screen, where to put index.html?

Postby biomat » Wed Apr 01, 2009 11:19 pm

Thanks a lot! I found .htaccess in www directory and added to it the statement from the web you quoted. It worked immediately. I didn't even have to restart the server or do anything else. Appreciate it.

Second run at it - I went back and removed the statement from the .htaccess file in www directory. Then I created a brand new .htaccess file in the journal directory with just this statement and it seems to work just fine. This is great! I was kind of concerned before that I was potentially messing up some of the other web pages in the www directory. Now I don't have to worry about it anymore. Thank again.
biomat
 
Posts: 23
Joined: Wed Jul 23, 2008 11:07 am


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 4 guests