Forums / Developer / double slash in urls

double slash in urls

Author Message

Noicokuna Niemoge

Friday 16 January 2009 2:17:27 am

Hi;

Just as the title says, after setting up RemoveSiteAccessIfDefaultAccess=enabled, my urls now look like:

http://www.site.com/index.php?//subpage

What's wrong? What should I change?

Also, is it possible to remove index.php without having access to Apache httpd.conf file?

Shiki soku ze ku...

Noicokuna Niemoge

Friday 16 January 2009 5:18:42 am

Hmm, anybody? It's quite intriguing...

I'm running eZ in php-fcgi mode.

Shiki soku ze ku...

Georg Franz

Friday 16 January 2009 5:42:59 am

Hi,

i've noticed the same, it seems to be a bug. Report it at http://issues.ez.no.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Noicokuna Niemoge

Friday 16 January 2009 5:46:07 am

Hey, hey, don't go away!

Maybe you also know any way to remove index.php from urls without having to setup the virtual host mode? :)

Regards!

Shiki soku ze ku...

Georg Franz

Friday 16 January 2009 6:20:39 am

Hi,

well, thats not possible. You need the virtual host mode for that.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

André R.

Friday 16 January 2009 6:27:07 am

Searching for remove index.php gets you some useful threads, among other:
http://ez.no/developer/forum/install_configuration/htaccess_removing_index_php_and_online_editor/

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Noicokuna Niemoge

Friday 16 January 2009 6:58:55 am

So it's not possible to get rid of index.php without virtual host setup? (André?)
(just a simple question before I dig into the post you quoted)

If yes, that sucks o_O...

Other CMS'es have nice urls without dealing with virtual host settings, using only mod_rewrite...

Shiki soku ze ku...

Gaetano Giunta

Friday 16 January 2009 8:56:16 am

[SiteAccessSettings]
# Set to true if you want to force VirualHost mode (with RewriteRules in apache)
# If this is set to true nonVirtualHost mode will not work correctly
ForceVirtualHost=false

With that set to true in site.ini, you will nott see anymore index.php in your generated urls.
You do need rewrite rules to make sure everything is routed to index.php, though

Principal Consultant International Business
Member of the Community Project Board

Noicokuna Niemoge

Sunday 18 January 2009 12:18:15 pm

Hi;

Thanks for giving me hope, but I get 403 errors... well, I'll digg into all posts in forums and try to make a solution for my server environment. I'll write later what I'll come with. :)

Shiki soku ze ku...