Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2 closed defect (fixed)

Homepage redirect from www.wplug.org / wplug.org to Mediawiki front page is broken

Reported by: pat Owned by: vance
Priority: critical Component: server
Keywords: Cc:

Description

Since adding the proxy from trac.wplug.org to this Trac instance, the redirect from the site homepage (to the wiki front page) no longer works - it ends up on an Apache test page, which is not the desired effect.

Change History (6)

comment:1 Changed 8 years ago by pat

My best guess right now is that this has something to do with the 09.redirects.conf configuration file, as it's one of the files that was edited recently. I'm not sure what changes were made, but I don't think this file would have changed for a long time previous to that, so worst case I will dig out the copy from the "emergency backup" of the server we made a while back.

comment:2 Changed 8 years ago by pat

  • Cc pat@… added
  • Owner changed from jprostko to vance
  • Status changed from new to assigned

comment:3 Changed 8 years ago by pat

  • Cc pat@… removed

comment:4 Changed 8 years ago by vance

  • Status changed from assigned to accepted

It is more likely to do with the VirtualHost directives in ssl.conf, nonssl.conf, and trac.conf. This problem first cropped up when SSL/TLS was set up, not when the configuration for Trac was added.

The changes to 09.redirects.conf were when I was attempting to set up Trac to be accessible under /trac. This didn't work, so I created trac.wplug.org as a virtual host instead and edited 09.redirects.conf back to its original content.

comment:5 Changed 8 years ago by vance

  • Resolution set to fixed
  • Status changed from accepted to closed

The prior configuration (without SSL/TLS or Trac) had everything defined in the server context. This worked fine when there were no virtual hosts. However, now that we do have virtual hosts, things have to be in their proper context.

I have moved the configuration directives for the www.wplug.org virtual host into the two files nonssl.conf and ssl.conf, and commented out the contents of mailman.conf, userdir.conf, and welcome.conf. (Do not delete these files, as they would then be replaced when the RPMs that own them are updated. It is necessary for them to exist.)

The trac.conf file contains the trac.wplug.org virtual host configuration (both plain http and https).

The redirects all appear to work properly now. Please test it out for yourself and re-open this ticket if there are still problems.

comment:6 Changed 8 years ago by pat

Confirmed working for me for most content, for both http and https, for the main site homepage, and the Trac virtual host. However, now it looks like the "/icons" directory that is used by the Mailman administration pages isn't working correctly. I'll open a separate ticket on this, as it's a separate problem.

Note: See TracTickets for help on using tickets.