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

eZ debug

Timing: Jan 18 2025 18:17:53
Script start
Timing: Jan 18 2025 18:17:53
Module start 'content'
Timing: Jan 18 2025 18:17:53
Module end 'content'
Timing: Jan 18 2025 18:17:53
Script end

Main resources:

Total runtime0.2068 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 587.6094180.8438
Module start 'content' 0.00620.0070 768.4531101.9609
Module end 'content' 0.01320.1936 870.4141529.9844
Script end 0.2067  1,400.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00361.7472200.0002
Check MTime0.00140.6753200.0001
Mysql Total
Database connection0.00070.342910.0007
Mysqli_queries0.147771.41951410.0010
Looping result0.00160.77701390.0000
Template Total0.192893.210.1928
Template load0.00090.429910.0009
Template processing0.191992.786510.1919
Override
Cache load0.00060.309410.0006
Sytem overhead
Fetch class attribute can translate value0.00100.506310.0010
XML
Image XML parsing0.00030.133010.0003
General
dbfile0.00884.2674200.0004
String conversion0.00000.002330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs