Results 1 to 7 of 7
-
10th Aug 2010, 10:31 PM #1OPMemberWebsite's:
RlsPorn.eu ReleasePorn.eulighttpd and allow all subdomains (all_what_i_will_write.domain.com)
hi,
i would like to know how to set up lighttpd config for all subdomains... i would like to allow all ..for example sub1.domain.com and rrr.domain.com and also ft7sjrgvs.domain.comany recommendation? Very thank you.
jessepure Reviewed by jessepure on . lighttpd and allow all subdomains (all_what_i_will_write.domain.com) hi, i would like to know how to set up lighttpd config for all subdomains... i would like to allow all ..for example sub1.domain.com and rrr.domain.com and also ft7sjrgvs.domain.comhttp://www.besthostingforums.com/images/cdn/besthostingforums.com/2010/08/icon_smile-1.gif any recommendation? Very thank you. Rating: 5
-
10th Aug 2010, 10:58 PM #2Member
Setup vHost like this
Code:$HTTP["host"] =~ "(^|\.)knownsrv\.com$" { server.document-root = "/home/knownsrv/public_html" server.errorlog = "/var/log/lighttpd/knownsrv/error.log" accesslog.filename = "/var/log/lighttpd/knownsrv/access.log" }
KnownSRV.com - Quality comes at a price, and we provide it at affordable prices.
PayPal, Skrill(MoneyBookers), Payza(AlertPay), 2CheckOut and LibertyReserve accepted!
-
11th Aug 2010, 12:12 PM #3OPMemberWebsite's:
RlsPorn.eu ReleasePorn.euthanks for answer, but still doesn not working..
my configuration:
$HTTP["host"] =~ "(^|/.)mywebsite/.com$" {
server.document-root = "/home/mywebsite.com/public_html"
server.errorlog = "/var/log/lighttpd/error.log"
accesslog.filename = "/var/log/lighttpd/access.log"
magnet.attract-physical-path-to = ( server.document-root + "/rewrite.lua" )
what have i do?thats the same like your solution..
Very thanks.
-
11th Aug 2010, 01:03 PM #4Member
mhm , try
$HTTP["host"] =~ "^(.+\.)?domain\.com$" {Coding Horror Fan
I don't read PM's frequently .
-
11th Aug 2010, 01:11 PM #5OPMemberWebsite's:
RlsPorn.eu ReleasePorn.euthanks, but does not wokring too..
-
11th Aug 2010, 01:13 PM #6OPMemberWebsite's:
RlsPorn.eu ReleasePorn.euotherwise
Code:magnet.attract-physical-path-to = ( server.document-root + "/rewrite.lua" )
-
14th Aug 2010, 12:03 PM #7Member
Make sure to restart (or reload) lighttpd after configuration.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Nginx and subdomains
By skinner in forum Server ManagementReplies: 5Last Post: 14th Mar 2012, 10:29 PM -
How to make Subdomains on Namecheap?
By my123world in forum Webmaster DiscussionReplies: 1Last Post: 14th Dec 2011, 10:17 AM -
Different subdomains to different wordpress installs on 1 vps?
By futureawesome in forum Server ManagementReplies: 2Last Post: 4th Aug 2011, 06:15 PM -
Google rankings for subdomains
By vin in forum Webmaster DiscussionReplies: 0Last Post: 20th Dec 2010, 08:46 PM -
Individual subdomains
By gmaister22 in forum General DiscussionReplies: 13Last Post: 23rd Nov 2010, 06:40 PM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...