Difference between revisions of "Cssproxy"

From Dreamwidth Notes
Jump to: navigation, search
Line 9: Line 9:
 
<source lang="perl">$CSSPROXY = "http://cssproxy.$DOMAIN/";</source>
 
<source lang="perl">$CSSPROXY = "http://cssproxy.$DOMAIN/";</source>
  
You will also have to add a line to the %SUBDOMAIN_FUNCTION hash and create it if it does not already exist:
+
You will also have to add a line to the <code>%SUBDOMAIN_FUNCTION</code> hash and create it if it does not already exist:
 
   
 
   
 
<source lang="perl">%SUBDOMAIN_FUNCTION = (  
 
<source lang="perl">%SUBDOMAIN_FUNCTION = (  

Revision as of 07:27, 27 October 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/";

You will also have to add a line to the %SUBDOMAIN_FUNCTION hash and create it if it does not already exist:

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

Without a subdomain

No instructions yet.