Welcome! Log In Create A New Profile

Advanced

Help configuration

Posted by isumido 
Help configuration
September 27, 2011 03:57PM
hi...

i wrote configuration files.

test.com.conf
----------------------------
server_name test.com www.test.com;


static.conf
---------------------------
server_name static.*;


ape.conf
-----------------------
server_name "~&(\d{1,3}+)\.ape\.*$;



http://test.com and http://www.test.com -> test.com OK.
http://static.test.com -> static.test.com OK
http://1.ape.test.com -> 1.ape.test.com OK

by the way,
when i try to access to http://abc.test.com,it will -> ape.test.com;
but..i wanna access http://test.com via http://*.test.com except ape,static and etc.

how can i do it?

and ape.conf
----------------------------------
server_name *.ape.*;

is fail. can not wildcard?

Regards thank.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 159
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready