Skip to Content.
Sympa Menu

lyceum-dev - [Lyceum-dev] After "svn up", all URLs go to "//" rather than "/"

lyceum-dev AT lists.ibiblio.org

Subject: Lyceum-dev mailing list

List archive

Chronological Thread  
  • From: Asheesh Laroia <asheesh AT asheesh.org>
  • To: lyceum-dev AT lists.ibiblio.org
  • Subject: [Lyceum-dev] After "svn up", all URLs go to "//" rather than "/"
  • Date: Sat, 20 May 2006 13:44:01 -0400 (EDT)

http://blogsdev.acm.jhu.edu/login now has the CSS source as "//wp-admin/wp-admin.css".

This was because WEBROOT for me was set to '/', as is the default in wp-config-sample.php. Changing it to '' fixed that.

I've attached a patch for wp-config-sample.php.

-- Asheesh.

--
Brahma said: Well, after hearing ten thousand explanations, a fool is no
wiser. But an intelligent man needs only two thousand five hundred.
-- The Mahabharatalyceum@tiresias:~/lyceum-trunk/src/config$ svn diff wp-config-sample.php
Index: wp-config-sample.php
===================================================================
--- wp-config-sample.php (revision 732)
+++ wp-config-sample.php (working copy)
@@ -9,7 +9,7 @@

// The web path to the base of lyceum (where portal.php is sitting), with NO
TRAILING SLASH
// Something like '' or '/lyceum' or '/src/lyceum'
-define('WEBROOT', '/');
+define('WEBROOT', '');
define('MAINDOMAIN', 'blogs.example.com');

//you probably want to leave these as they are



Archive powered by MHonArc 2.6.24.

Top of Page