legumeinfo / jira-issues

placeholder repo for issues migrating from JIRA system, to be moved to their appropriate places later
0 stars 0 forks source link

tripal_phylotree fails to load static content (e.g javascript, .gif) #41

Closed adf-ncgr closed 10 years ago

adf-ncgr commented 10 years ago

It seems '/node' is being prefixed to the static content requests, and it should not be. Which is why I suspect it has something to do with 'Clean URLs' mode (involves mod_rewrite). But I would think it should be making a 404 not a 500 error, if it was just an incorrect URL. If my hunch is correct, I need to write PHP to detect if clean urls mode is enabled, and then generate the path to the static resources accordingly.

[LEGUME-73] created by agr

adf-ncgr commented 10 years ago

I was able to replicate this bug by enabling CleanURLs (and associated mod_rewrite rules) on my development tripal server.
The question I'm trying to solve: what is the correct way to serve up static content when clean URLs is enabled?

by agr

adf-ncgr commented 10 years ago

Hardcoding the path to the theme seems like an ok solution for our usage anyways.

by agr