Thanks for looking into this!

On 07.08.2019 21:20, RjOllos wrote:
The Alias directive needs to be:
Alias /chrome  /srv/www/trac/pub/kunden-trac/htdocs

OK, I did this. Most static parts of a page still use /trac_static, though. For example /trac_static/css/trac.css
Here, interestingly, the whole DocumentRoot is NOT inserted.

But in other URLs, like /chrome/common/trac.ico, it is inserted:

https://trac.example.com/srv/www/trac/pub/kunden-trac/chrome/common/trac.ico

Does this help in identifying the code that inserts it?

Have you tried setting DocumentRoot to /srv/www/trac/pub/kunden-trac?

Did this now.

SetEnv trac.base_url https://trac.example.com/

Did this now. And for good measure also in trac.fcgi:

os.environ['BASE_URL'] = 'https://trac.example.com/'


Result with all changes and without plugins (see below):

 still the whole DocumentRoot is added into URLs, e.g.:

https://trac.example.com/srv/www/trac/pub/kunden-trac/report


I turned off all plugins I could find:

[components]
blackmagic.blackmagic.blackmagictickettweaks = disabled
graphviz.graphviz.graphviz = disabled
hideable_query.* = disabled
hideable_query.hideable_query.hideablequery = disabled
ldapplugin.api.ldappermissiongroupprovider = disabled
mastertickets.* = disabled
privatereports.privatereports.* = disabled
privatereports.privatereports.privatereports = disabled
privatetickets.policy.privateticketspolicy = disabled
timingandestimationplugin.* = disabled
timingandestimationplugin.query_webui.querywebuiaddon = disabled
timingandestimationplugin.stopwatch.ticketstopwatch = disabled
timingandestimationplugin.tande_filters.reportsfilter = disabled
timingandestimationplugin.tande_filters.totalhoursfilter = disabled
timingandestimationplugin.ticket_daemon.timetrackingticketobserver = disabled timingandestimationplugin.ticket_daemon.timetrackingticketvalidator = disabled
timingandestimationplugin.ticket_webui.addhourssincecomment = disabled
timingandestimationplugin.ticket_webui.betterhoursdisplay = disabled
timingandestimationplugin.ticket_webui.hourslayoutchanger = disabled
timingandestimationplugin.webui.timingestimationandbillingpage = disabled
tracdeveloper.log.developerlogmodule = disabled
tracdeveloper.main.developerplugin = disabled
tracdeveloper.plugins.pluginregistry = disabled
tracopt.perm.config_perm_provider.extrapermissionsprovider = disabled
tracopt.ticket.commit_updater.* = disabled
tracopt.versioncontrol.git.* = disabled
tracopt.versioncontrol.svn.svn_fs.subversionconnector = disabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertydiffrenderer = disabled tracopt.versioncontrol.svn.svn_prop.subversionmergepropertyrenderer = disabled
tracopt.versioncontrol.svn.svn_prop.subversionpropertyrenderer = disabled
tracsubtickets.api.* = disabled
tracsubtickets.web_ui.* = disabled
tracwysiwyg.* = disabled
tracwysiwyg.wysiwygmodule = disabled
virtualticketpermissions.policy.virtualticketpermissionspolicy = disabled

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/94c43060-f452-fb78-4322-9bb4b3c9f593%40programmfabrik.de.

Reply via email to