Showing posts with label Appache. Show all posts
Showing posts with label Appache. Show all posts

Tuesday, January 20, 2015

Session replication in apache

We have a load balancer configured with HA proxy and there are two apache servers  running below it (PHP application). So is it possible to achieve session replication at apache level.

Please reply soon..


Jeetu Patel jeetupatel9129@gmail.com
Hi Jeetu,


In this case it's wise to use database level or use memcached for the same.
I agree this does not answer your question but yes it is easy and well known way to go.


bankat vikhe vikhe.bankat92@gmail.com



 bankat vikhe vikhe.bankat92@gmail.com

Thursday, January 15, 2015

Apache hosting

I have having an issue. I have hosted 2 sites.

Where I am able to browse the first one and the second one i am unable to browse.

See the attachment. 
__________________________________________________________________
Have you uncommented the NameVirtualHost line in httpd.conf file.If not then please uncomment it and then check.
 
_____________________________________________________________
 Please uncomment  below tags in   vim /etc/httpd/conf/httpd.conf

# Use name-based virtual hosting.

NameVirtualHost *:80

_________________________________________________________________
kindly show "NameVirtualHost" parameter value in httpd.conf
 
________________________________________________________________
 
Uncommet NameVirrtualHost in httpd.conf file & restart the httpd service & check.
 

 

Wednesday, January 14, 2015

appache erro

while creating appache web page,
i  got the error

Please i had make any mistake

i got the error. kindly check  my attachment also
--
[root@server ~]# httpd -t
Syntax error on line 998 of /etc/httpd/conf/httpd.conf:
CustomLog takes two or three arguments, a file name, a custom log
format string or format name, and an optional "env=" clause (see docs)


its 
CustomLog logs/prasad.local_access_log common

Not 
CustomLog logs/prasad.local_access_log_common

_____________________________________________________________________________________________

Please remove the "_" before "common". It should be like "log common".
For reference check the example above ur virtual host.
Remove # before ur virtual host lines ;)