LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » Kloxo Community Support » First Time Users » How To Change Apache's Config Defaults(Apache Config Files)
How To Change Apache's Config Defaults [message #97314] Mon, 02 April 2012 07:36 Go to next message
thorn is currently offline thorn  Turkey
Messages: 10
Registered: April 2012
Location: Turkey
Member
Hi,

I have got a VPS at Amazon AWS. I installed CentOS 5.8 and setup Kloxo. After install i wasnt able to handle incoming requests to related domains. When user come to xxx.com it shows CentOS Apache Default Page or sub.xxx.com shows apache's default page. I looked into /home/apache/conf/domains/xxx.com/xxx.com.conf file and changed VirtualHost IP:Port to VirtualHost *:80 and then change /home/apache/conf/webmail/webmail.conf header VirtualHost IP:Port to VirtualHost *:80 .. My problem is fixed Smile So i dont wanna do this whole domains in my server ..

How can i change Kloxo's main template for this event ?
Re: How To Change Apache's Config Defaults [message #97315 is a reply to message #97314] Mon, 02 April 2012 08:01 Go to previous messageGo to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
Is the root problem here that the IP address of your server changed after the initial installation? Do you foresee the IP address changing often?

https://www.mercuryvps.com
HyperVM Xen VPS hosting
Re: How To Change Apache's Config Defaults [message #97318 is a reply to message #97315] Mon, 02 April 2012 08:21 Go to previous messageGo to next message
thorn is currently offline thorn  Turkey
Messages: 10
Registered: April 2012
Location: Turkey
Member
No . I got a static ip. Not a dynamic ip . i added this ip to IP Addresess section in Kloxo and setup my dns templates with this ip. but when someone calls blabla.com Apache can not resolve incoming requests over this ip. I think this problem is about Amazon AWS.Because this external ip not binded directly to my VPS. But who requests something from this ip its routing to my vps machine. So is anybody there someone tell me how can i change "IP:Port" to "*:80" in httpd confs newly added domains ¿ Smile
Re: How To Change Apache's Config Defaults [message #97319 is a reply to message #97318] Mon, 02 April 2012 08:30 Go to previous messageGo to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
You'd have to edit the driver file manually. /usr/local/lxlabs/kloxo/httpdocs/lib/domain/web/driver/web_a pachelib.php I may be off a little, I just wrote that path off the top of my head.

Also there is some functionality that will be lost in Kloxo if you do this.


https://www.mercuryvps.com
HyperVM Xen VPS hosting
Re: How To Change Apache's Config Defaults [message #97324 is a reply to message #97319] Mon, 02 April 2012 09:21 Go to previous message
thorn is currently offline thorn  Turkey
Messages: 10
Registered: April 2012
Location: Turkey
Member
Thank you.. i changed {$ip} variable to * for two methods that i forget method Names Smile I fixed my problem by this way.
Previous Topic:How to update Boost version 1.33. XBTT to 1.44?
Next Topic:Curious
Goto Forum:
  


Current Time: Sun May 19 11:37:35 EDT 2013

Total time taken to generate the page: 0.01139 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software