Opened 6 years ago

Closed 4 years ago

#1673 closed bug (wontfix)

script for pages not loaded in main.js

Reported by: mahouni Owned by: mahouni
Priority: major Milestone: unassigned
Component: FrameWork Keywords: main.js script http_baseuri
Cc:

Description

getting the pagename in htdocs/script/main.js does not work if BWRox has a different path then http://localhost/pagename (e.g. http://localhost/bewelcome/pagename)

trim http_baseuri from location to get the pagename

change line 39+40 to

//Trim http_baseuri
var currentPage = loc.replace(http_baseuri, "");

Change History (3)

comment:1 Changed 5 years ago by planetcruiser

hm, i am not sure if rox is ready to run in a sub folder of htdocs anyway.. is it? i'd say there probably are a lot of hard-coded "/" everywhere, or not?

however, this would be a requirement that produces unnecessary overhead, because rox will never run in a subfolder

comment:2 Changed 5 years ago by jsfan

  • Milestone Future deleted

Milestone Future deleted

comment:3 Changed 4 years ago by shevek

  • Milestone set to unassigned
  • Resolution set to wontfix
  • Status changed from new to closed

Closing. The INSTALL file gives instruction how to run the site as a virtual site under http://bewelcome/ so no need to fix something in the code that isn't broken.

Note: See TracTickets for help on using tickets.