Difference between revisions of "Cssproxy"

From Dreamwidth Notes
Jump to: navigation, search
Line 1: Line 1:
== Enabling cssproxy: ==
+
== Enabling cssproxy ==
  
To enable the cssproxy as a subdomain:
+
=== As a subdomain ===
  
# Make sure your DNS settings are correct. If you're not sure, check out the "DNS Management" section of [[Subdomain setup]].
+
To enable the cssproxy as a subdomain, first make sure your DNS settings are correct.  You will need a wildcard subdomain record. If you're not sure about what this is, check out the "DNS Management" section of [[Subdomain setup]].
# Edit the following in ljconfig.pl
+
#* 'cssproxy' => 'cssproxy', in %SUBDOMAIN_FUNCTION
+
#* $LJ::CSSPROXY = "http://cssproxy.$DOMAIN/";, and that LJ:: is probably redundant
+
  
You should also be able to enable cssproxy without using a subdomain, but no instructions for that yet.
+
Then, you will need to add the following to <code>etc/ljconfig.pl</code>:
  
(thanks to <ljuser>exor674</ljuser> for walking me through this!)
+
$CSSPROXY = "http://cssproxy.$DOMAIN/";
 +
 +
%SUBDOMAIN_FUNCTION = ( 'cssproxy' => 'cssproxy' );
 +
 
 +
=== Without a subdomain ===
 +
 
 +
No instructions yet.
  
 
[[Category: Dreamwidth Installation]]
 
[[Category: Dreamwidth Installation]]

Revision as of 19:10, 17 September 2008

Enabling cssproxy

As a subdomain

To enable the cssproxy as a subdomain, first make sure your DNS settings are correct. You will need a wildcard subdomain record. If you're not sure about what this is, check out the "DNS Management" section of Subdomain setup.

Then, you will need to add the following to etc/ljconfig.pl:

$CSSPROXY = "http://cssproxy.$DOMAIN/";

%SUBDOMAIN_FUNCTION = ( 'cssproxy' => 'cssproxy' );

Without a subdomain

No instructions yet.