OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Removing index.php in the URL (IIS Users?)

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.

Removing index.php in the URL (IIS Users?)

Postby ozcelik » Tue Jan 29, 2008 8:58 am

Hi Guys,

Is it possible to remove the index.php which appears in all URLs if IIS is used? I don't know why it is necessary to have it in the URL, but having index.php before directory names in the URL makes people think that something is wrong with the website...

I saw that it is possible to remove it by using mod_rewrite and some coding in the config.php if Apache is used, see:
Code: Select all
http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=741&st=0&sk=t&sd=a&hilit=mod_rewrite


Is there a similar way for the IIS as well?

Regards,

Jason
ozcelik
 
Posts: 26
Joined: Sun Sep 23, 2007 9:25 pm

Re: Removing index.php in the URL (IIS Users?)

Postby asmecher » Fri Feb 01, 2008 5:48 pm

Hi Jason,

Unfortunately, nobody on the team here is particularly familiar with IIS. Perhaps someone else in the community has some specific experience; in the meantime, you might browse the thread at http://www.petefreitag.com/item/286.cfm.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9214
Joined: Wed Aug 10, 2005 12:56 pm

Removing index.php in the URL (IIS Users?)

Postby aambesha » Wed May 08, 2013 9:23 am

I have the restful url to on and the following settings in the .htaccess file:

Code: Select all
<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteRule ^(.*)$ index.php/$1 [QSA,L]
</IfModule>




On the old server the website was working fine for each journal without .index.php but after the server is moved. This seems to be not working. Please help me as soon as possible.
aambesha
 
Posts: 27
Joined: Wed May 08, 2013 9:19 am

Re: Removing index.php in the URL (IIS Users?)

Postby asmecher » Wed May 08, 2013 9:58 am

Hi aambesha,

Please don't double-post -- if your question relates to OJS then please continue the discussion here; otherwise continue on this thread.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9214
Joined: Wed Aug 10, 2005 12:56 pm


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest