Current time: 12-23-2024, 11:48 PM Hello There, Guest! (LoginRegister)


Post Reply 
private ip not work with apache
Author Message
ramires Offline
Junior Member
*

Posts: 23
Joined: Aug 2008
Reputation: 0
Post: #1
private ip not work with apache
hi
i have a server behind firewall..*(ispcp omega stable 1.0 on debian lenny)

my internal ip 192.x.x.x
my external ip 89.x.x.x

I used 89.x.x.x in Installation process.

when i add a domain to the server all dns and apache real files ip's turn to 89.x.x.x
but i need apache files to be 192.x.x.x becouse of firewall. I have no problem with dns it worked well with 89.x.x.x

Also I changed tpl files
als_entry.tpl:<VirtualHost {ALS_IP}:80>
als_entry.tpl.orj:<VirtualHost {ALS_IP}:80>
dmn_entry.tpl:<VirtualHost {DMN_IP}:80>
dmn_entry.tpl.orj:<VirtualHost {DMN_IP}:80>
ispcp_base.tpl:# httpd [{IP}] virtual host entry BEGIN.
ispcp_base.tpl:# httpd [{IP}] virtual host entry END.
sub_entry.tpl:<VirtualHost {SUB_IP}:80>
sub_entry.tpl.orj:<VirtualHost {SUB_IP}:80>
vh_b.tpl:# httpd [{IP}] virtual host entry BEGIN.
vh_entry.tpl:NameVirtualHost {IP}:80
vh_entry.tpl.orj:NameVirtualHost {IP}:80
vh_e.tpl:# httpd [{IP}] virtual host entry END.

and working file /etc/ispcp/apache/working/ispcp.conf
IP parts to 192.x.x.x but this time gives this error

get_tag() | ERROR: '# httpd [89.x.x.x] virtual host entry BEGIN.
' ne '# httpd [89.x.x.x] virtual host entry END.
', '# httpd [89.x.x.x] virtual host entry BEGIN.
' or '# httpd [89.x.x.x] virtual host entry END.
' missing in src

I try to fix that with perl files but i couldn't find copy part.
if i find that i can easily change real file with sed.
04-30-2009 09:16 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
private ip not work with apache - ramires - 04-30-2009 09:16 PM
RE: private ip not work with apache - BeNe - 05-04-2009, 06:10 AM
RE: private ip not work with apache - BeNe - 05-04-2009, 10:42 PM
RE: private ip not work with apache - BeNe - 05-06-2009, 05:49 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)