OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



URLs for Conferences

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

URLs for Conferences

Postby tshore » Mon Oct 08, 2007 12:34 pm

I have used OCS since 2003 for a couple of different conferences. Here are the URLs that I tend to use.

For the organization's main website:

http://www.imrf.info/

And then, for each year, we use:

http://www.imrf.info/2006/
http://www.imrf.info/2007/

etc.

Of course, for this year's conference, I would like to use:

http://www.imrf.info/2008/

and then continue on with /2009, /2010, ...

When I installed the beta version of OCS 2, I was a bit confused about what directory I should install the application into. That is, in order for my conference URLs to continue to work in the same fashion.

I am now ready to install the real version of OCS 2 (in fact, my client, the conference organizer is MORE than ready for me to install it!) and I would appreciate any advice you can give me.

Thank you.
tshore
 
Posts: 263
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario

Re: URLs for Conferences

Postby asmecher » Tue Oct 09, 2007 9:23 am

Hi tshore,

OCS 2.x uses a different URL scheme. Generally, URLs will look like:

http://[some-url-here]/ocs2/index.php/[confName]/[schedConfName]

...where [some-url-here]/ocs2 is the URL and path to your OCS installation. The later parts in the URL that look like paths ([confName] and [schedConfName]) are not actually directories -- these are passed to the OCS script. OCS can host multiple iterations of multiple conferences, which is why these are present. (In your case, [confName] would be "imrf" and [schedConfName] would be "2008".)

You have several options for maintaining your old URL scheme:
  • Install OCS directly in the 2008 directory. This is easiest, but if you later want to host another conference or year in the same installation, you'll have to move it.
  • Install OCS in some other directory (e.g. /ocs2) and use redirector scripts to send users to it from the /2008 directory. Put a script called index.php in the 2008 directory with contents like:
    Code: Select all
    <?php header('location: /ocs2/index.php/[confName]/[schedConfName]'); ?>
    (replacing, of course, [confName] and [schedConfName] with the conference and scheduled conference paths you created via the user interface of OCS.)
Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 7717
Joined: Wed Aug 10, 2005 12:56 pm


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests