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
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.

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: 10015
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: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests