[us...@httpd] Apache logs are being writting to the /var/log/messages file
Hi Folks, Need some help with Apache log files. The problem is that the apache log files are being written to the systems' /var/log/messages file. This is what I have in my /etc/syslog.conf file for /var/log/messages: *.info;mail.none;authpriv.none;cron.none;\ local1.none;local7.none /var/log/messages The application folks have... apache.conf:LogLevel warn apache.conf:CustomLog logs/accesses combined apache.conf:ErrorLog logs/errors local.conf:PidFile logs/httpd.pid local.conf:JkLogFile /apps/webserver/logs/mod_jk.log local.conf:JkLogLevel info ...in their apache conf files. Do you think that JkLogLevel info is directing all the informational logs to /var/log/messages because my server has *.info in it in the /etc/syslog.conf file? I have many apache servers running and all my /etc/syslog.conf files have this setting for /var/log/messages. Only apache servers from a certain application group has this issue. My root partition is small and it gets filled up with these logs. Any suggestions would be greatly appreciated. thanks # mukarram Mukarram Syed muks...@yahoo.com
[EMAIL PROTECTED] how to: apache maintenence page
Hi Apache gurus. I am looking for a simple way to get a maintenance page up on RHEL4AS running httpd version 2.0.52. the maintenance page should come up when the site is down...or if there is a maintenence going on...like uploads and such. I have looked around found .htaccess, or the Rewrite way...but can someone explain me how to do this. There is too much information scattered around about this and I am looking for a clear answer...step by step directions. The O'Reilly Apache Cookbook that I have does not give me the answer as well. Thanks much in advance. Regards. # mukarram Mukarram Syed [EMAIL PROTECTED]
[EMAIL PROTECTED] Permissions dilemma in the /var/log/httpd directory
Hi, Here is my dilemma and I'd appreciate some help. Apache has been configured and is running fine. But other users need read permissions to the /var/log/httpd directory. Before I implemented cronolog (www.cronolog.org), I forced a permissions change to 755 in the startup script for the /var/log/httpd directory. After I implemented cronolog this does not work, since cronolog automatically changes permissions to 400. Is there a way to force permissions to 644 at least in the httpd.conf file and keep it that way even after cronolog rotates logs. I could implement chmod -R 755 /var/log/httpd via cron at midnight, but this is a crude way of doing thing. I hope there is a better, elegant way, via Apache. I again appreciate any inputs to this. thanks # mukarram syed Mukarram Syed [EMAIL PROTECTED] - Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.
Re: [EMAIL PROTECTED] Permissions dilemma in the /var/log/httpd directory
I'll try that. Thanks. [EMAIL PROTECTED] wrote: Have you tried setting the umask in your apache startup script? I'm running on Sun Solaris and I've used ACL's to get the permissions I want. Dan Please respond to users@httpd.apache.org To: users@httpd.apache.org cc: (bcc: Dan Mitton/YD/RWDOE) Subject:[EMAIL PROTECTED] Permissions dilemma in the /var/log/httpd directory LSN: Not Relevant User Filed as: Not a Record Hi, Here is my dilemma and I'd appreciate some help. Apache has been configured and is running fine. But other users need read permissions to the /var/log/httpd directory. Before I implemented cronolog (www.cronolog.org), I forced a permissions change to 755 in the startup script for the /var/log/httpd directory. After I implemented cronolog this does not work, since cronolog automatically changes permissions to 400. Is there a way to force permissions to 644 at least in the httpd.conf file and keep it that way even after cronolog rotates logs. I could implement chmod -R 755 /var/log/httpd via cron at midnight, but this is a crude way of doing thing. I hope there is a better, elegant way, via Apache. I again appreciate any inputs to this. thanks # mukarram syed Mukarram Syed [EMAIL PROTECTED] Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. - The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Mukarram Syed [EMAIL PROTECTED] - Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
Re: [EMAIL PROTECTED] Permissions dilemma in the /var/log/httpd directory
I think that worked! Just by adding umask 022 in apachectl startup script and restarting apache. Thanks Mukarram Syed [EMAIL PROTECTED] wrote: I'll try that. Thanks. [EMAIL PROTECTED] wrote: Have you tried setting the umask in your apache startup script? I'm running on Sun Solaris and I've used ACL's to get the permissions I want. Dan Please respond to users@httpd.apache.org To: users@httpd.apache.org cc: (bcc: Dan Mitton/YD/RWDOE) Subject:[EMAIL PROTECTED] Permissions dilemma in the /var/log/httpd directory LSN: Not Relevant User Filed as: Not a Record Hi, Here is my dilemma and I'd appreciate some help. Apache has been configured and is running fine. But other users need read permissions to the /var/log/httpd directory. Before I implemented cronolog (www.cronolog.org), I forced a permissions change to 755 in the startup script for the /var/log/httpd directory. After I implemented cronolog this does not work, since cronolog automatically changes permissions to 400. Is there a way to force permissions to 644 at least in the httpd.conf file and keep it that way even after cronolog rotates logs. I could implement chmod -R 755 /var/log/httpd via cron at midnight, but this is a crude way of doing thing. I hope there is a better, elegant way, via Apache. I again appreciate any inputs to this. thanks # mukarram syed Mukarram Syed [EMAIL PROTECTED] Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. - The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Mukarram Syed [EMAIL PROTECTED] - Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. Mukarram Syed [EMAIL PROTECTED] - Need a vacation? Get great deals to amazing places on Yahoo! Travel.
[EMAIL PROTECTED] Help on http and https using different domains
Hi,I need some help on this, we are going to go live soon but this is a road block for us.The issue is:We are hosting an ecommerce site. Lets say the http domain is www.example.comWe go to www.example.com, browse and click on some items and add to the bag.Then we proceed to checkout. Once we click on Proceed to checkout, it changes the domain to secure.example.com. While we were in the www.example.com, we could view the items in the bag. The moment we Proceed to checkout, the items in the bag dissappear. This should not happen. Any help would be appreciated. We think it is a problem with the http.conf and ssl.conf.ThanksWe are using tomcat as our middleware.Httpd.conf:VirtualHost *:80 DocumentRoot /usr/local/www/yvesrocher/html ServerName www.example.com /VirtualHost VirtualHost *:80 ServerName www.example.com ServerAlias example.com Redirect / http://www.example.com//VirtualHost In the ssl.conf file: VirtualHost 10.0.226.12:443 ServerName secure.example.com:443ServerAlias secure.example.com:443 /VirtualHostMukarram Syed[EMAIL PROTECTED] Get amazing travel prices for air and hotel in one click on Yahoo! FareChase
Re: [EMAIL PROTECTED] Apache 1.3.34 make error (Solved).
HiI solved this problem.Had to add the --enable-shared=ssl in the configure options.That fixed it.-Mukarram.Mukarram Syed [EMAIL PROTECTED] wrote: Hi.I am installing Apache with mod_ssl and open_ssl 0.9.8a.After compiling, I run "make" and I am getting the following error:/libos.a ap/libap.a lib/expat-lite/libexpat.a -lsocket -lnsl -lpthread -lssl -lcryptoUndefined first referencedsymbol in filedlsym /opt/home/msyed/apache-build/apache-modssl.sephorakiosk.20060201/openssl-0.9.8a/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit dependency /usr/lib/libdl.so.1)dlopen /opt/home/msyed/apache-build/apache-modssl.sephorakiosk.20060201/openssl-0.9.8a/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit dependency /usr/lib/libdl.so.1)dlclose /opt/home/msyed/apache-build/apache-modssl.sephorakiosk.20060201/openssl-0.9.8a/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit dependency /usr/lib/libdl.so.1)dlerror /opt/home/msyed/apache-build/apache-modssl.sephorakiosk.20060201/openssl-0.9.8a/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit dependency /usr/lib/libdl.so.1)ld: fatal: Symbol referencing errors. No output written to httpdcollect2: ld returned 1 exit statusmake[2]: *** [target_static] Error 1make[2]: Leaving directory `/opt/home/msyed/apache-build/apache-modssl.sephorakiosk.20060201/apache_1.3.34/src'make[1]: *** [build-std] Error 2make[1]: Leaving directory `/opt/home/msyed/apache-build/apache-modssl.sephorakiosk.20060201/apache_1.3.34'make: *** [build] Error 2There is a reference t o this very same error in mailing list:http://marc.theaimsgroup.com/?l=apache-modsslm=102860578902651w=2But I don't understand what the fix is?Can someone look at it and explain it to me?I would appreciate the response.Regards.-Mukarram Syed.Mukarram Syed[EMAIL PROTECTED] Bring words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.Mukarram Syed[EMAIL PROTECTED] Bring words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.
[EMAIL PROTECTED] Apache 1.3.34 make error:
Hi.I am installing Apache with mod_ssl and open_ssl 0.9.8a.After compiling, I run "make" and I am getting the following error:/libos.a ap/libap.a lib/expat-lite/libexpat.a -lsocket -lnsl -lpthread -lssl -lcryptoUndefined first referencedsymbol in filedlsym /opt/home/msyed/apache-build/apache-modssl.sephorakiosk.20060201/openssl-0.9.8a/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit dependency /usr/lib/libdl.so.1)dlopen /opt/home/msyed/apache-build/apache-modssl.sephorakiosk.20060201/openssl-0.9.8a/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit dependency /usr/lib/libdl.so.1)dlclose /opt/home/msyed/apache-build/apache-modssl.sephorakiosk.20060201/openssl-0.9.8a/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit dependency /usr/lib/libdl.so.1)dlerror /opt/home/msyed/apache-build/apache-modssl.sephorakiosk.20060201/openssl-0.9.8a/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit dependency /usr/lib/libdl.so.1)ld: fatal: Symbol referencing errors. No output written to httpdcollect2: ld returned 1 exit statusmake[2]: *** [target_static] Error 1make[2]: Leaving directory `/opt/home/msyed/apache-build/apache-modssl.sephorakiosk.20060201/apache_1.3.34/src'make[1]: *** [build-std] Error 2make[1]: Leaving directory `/opt/home/msyed/apache-build/apache-modssl.sephorakiosk.20060201/apache_1.3.34'make: *** [build] Error 2There is a reference to this very same error in mailing list:http://marc.theaimsgroup.com/?l=apache-modsslm=102860578902651w=2But I don't understand what the fix is?Can someone look at it and explain it to me?I would appreciate the response.Regards.-Mukarram Syed.Mukarram Syed[EMAIL PROTECTED] Bring words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.
Re: [EMAIL PROTECTED] Yet another Redirect/ RedirectMatch question
Since http://maxim-toastmaster.com DNS was under our control, I could change the A record to point to www.esalton.com and that worked rather than doing the redirects.Thanks for all your help.-Mukarram Syed.Mukarram Syed [EMAIL PROTECTED] wrote: Hi,I am trying to reproduce the error that you all have mentioned in your emails to me. Where do you get the part where it says: [HTTP/1.1 *301 Moved Permanently*\r\nServer: Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30: 20 GMT\r\nContent-length: 0\r\n*Location: http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]I have used Live Http Headers and when I hit http://maxim-toastmaster.com I get the following:http://www.esalton.com/store/applicationGET /store/application HTTP/1.1Host: www.esalton.comUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/2005 Firefox/1.5Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5Accept-Language: en-us,en;q=0.5Accept-Encoding: gzip,deflateAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7Keep-Alive: 300Connection: keep-aliveCookie: root.autoUserLoginId=muksyed; JSESSIONID=15BA62B88A1C9A40D8C02445B8D06E40.sprod1If-Modified-Since: Mon, 22 Nov 2004 19:19:56 GMTIf-None-Match: "369b8e-649-bde1af00;b025fec0"HTTP/1.x 404 Not FoundDate: Fri, 27 Jan 2006 22:42:58 GMTServer: Apache/2.0.46 (Red Hat)Last-Modified: Mon, 14 Nov 2005 18:22:29 GMTEtag: "48264-649-8dc58340;8dc58340"Accept-Ranges: bytesContent-Length: 1609Connection: closeContent-Type: text/html; charset=UTF-8Please help. I am confused.Thanks very much for the help provided so far.Mukarram Syed [EMAIL PROTECTED] wrote: Thanks Anderson.To answer the last part " Yet, it should work... Anyways, I think your best shot would be to redirect http://www.max-toastmaster.com/ directly to http://www.esalton.com/control/main/ , instead of just http://www.esalton.com/ ."I tried that i.e.,VirtualHost *:80 ServerName maxim-toastmaster.com Redirect / http://www.esalton.com/control/main//VirtualHostIt still doesn't work.Thanks for your help. They help narrow down to the problem immensely.Regards-Mukarram Anderson Miranda [EMAIL PROTECTED] wrote: Hi Syed, List...First off, I'm getting the headers from my proxy log files (squid).When I try to access http://www.esalton.com/ , I'm getting this:[HTTP /1.1 *302 Moved Temporarily*\r\nDate: Fri, 27 Jan 2006 20:31:52 GMT\r\nServer: Apache/2.0.46 (Red Hat)\r\nSet-Cookie: JSESSIONID=448CA44547341BDABA5A08DA36180DAB.sprod1; Path=/\r\n*Locati on: http://www.esalton.com/control/main*\r\nContent-Type: text/html;charset=ISO-8859-1\r\nContent-Length: 0\r\nConnection: close\r\n\r]which means you have, somewhere, a Temporary Redirection for the http://www.esalton.com/ address.When I try to access http://www.maxim-toastmaster.com/ , I'm getting this:[HTTP/1.1 *301 Moved Permanently*\r\nServer: Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:20 GMT\r\nContent-length: 0\r\n*Location: http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]which means you have, somewhere, a Permanent Redirection for the http://www.maxim-toastmaster.com/ address.I'm not 100% sure how HTTP protocol works with such redirections but, it's at least confusing to have an address permanently redirected to a second address and then, to have this second address temporarily redirected to a third one... Yet, it should work... Anyways, I think your best shot would be to redirect http://www.max-toastmaster.com/ directly to http://www.esalton.com/control/main/ , instead of just http://www.esalton.com/ .Hope this all can help you.Regards,asm__Mukarram Syed escreveu: Thanks Joost. This helps. What do we do next since it is not pointing to Apache. It looks like someone else is displaying this 404 error page. Silly question...How did you look at the headers. I downloaded http liveheaders for firefox and when I opened it up, I am not seeing anything in the headers. I know this is slightly out of scope, but I appreciate the help. thanks -Mukarram Syed. */Joost de Heer <[EMAIL PROTECTED]>/* wrote: Mukarram Syed wrote: Hi. Thanks for replying Joshua. Sorry for delay in responding back.Here is my redirect:ServerName maxim-toastmaster.com Redirect / http://www.esalton.com/ Here are the headers when I go to 'http://maxim-toastmaster.com': HTTP/1.x 301 Moved Permanently Server: Netscape-Enterprise/6.0 Date: Fri, 27 Jan 2006 09:51:16 GMT Content-Length: 0 Location: http://www.esalton.com/store/application Connection: close I.e. a Sun ONE we bserver is answering and not Apache Joost - The official User-To-User support forum of t he Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: [EMAIL PROTE
Re: [EMAIL PROTECTED] Yet another Redirect/ RedirectMatch question
Thanks Joost. This helps. What do we do next since it is not pointing to Apache. It looks like someone else is displaying this 404 error page.Silly question...How did you look at the headers. I downloaded http liveheaders for firefox and when I opened it up, I am not seeing anything in the headers.I know this is slightly out of scope, but I appreciate the help.thanks-Mukarram Syed.Joost de Heer [EMAIL PROTECTED] wrote: Mukarram Syed wrote: Hi. Thanks for replying Joshua. Sorry for delay in responding back. Here is my redirect: ServerName maxim-toastmaster.com Redirect / http://www.esalton.com/ Here are the headers when I go to 'http://maxim-toastmaster.com':HTTP/1.x 301 Moved PermanentlyServer: Netscape-Enterprise/6.0Date: Fri, 27 Jan 2006 09:51:16 GMTContent-Length: 0Location: http://www.esalton.com/store/applicationConnection: closeI.e. a Sun ONE webserver is answering and not ApacheJoost-The official User-To-User support forum of the Apache HTTP Server Project.See for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!? With a free 1 GB, there's more in store with Yahoo! Mail.
Re: [EMAIL PROTECTED] Yet another Redirect/ RedirectMatch question
Thanks Anderson.To answer the last part " Yet, it should work... Anyways, I think your best shot would be to redirect http://www.max-toastmaster.com/ directly to http://www.esalton.com/control/main/ , instead of just http://www.esalton.com/ ."I tried that i.e.,VirtualHost *:80 ServerName maxim-toastmaster.com Redirect / http://www.esalton.com/control/main//VirtualHostIt still doesn't work.Thanks for your help. They help narrow down to the problem immensely.Regards-Mukarram Anderson Miranda [EMAIL PROTECTED] wrote: Hi Syed, List...First off, I'm getting the headers from my proxy log files (squid).When I try to access http://www.esalton.com/ , I'm getting this:[HTTP /1.1 *302 Moved Temporarily*\r\nDate: Fri, 27 Jan 2006 20:31:52 GMT\r\nServer: Apache/2.0.46 (Red Hat)\r\nSet-Cookie: JSESSIONID=448CA44547341BDABA5A08DA36180DAB.sprod1; Path=/\r\n*Location: http://www.esalton.com/control/main*\r\nContent-Type: text/html;charset=ISO-8859-1\r\nContent-Length: 0\r\nConnection: close\r\n\r]which means you have, somewhere, a Temporary Redirection for the http://www.esalton.com/ address.When I try to access http://www.maxim-toastmaster.com/ , I'm getting this:[HTTP/1.1 *301 Moved Permanently*\r\nServer: Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:20 GMT\r\nContent-length: 0\r\n*Location: http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]which means you have, somewhere, a Permanent Redirection for the http://www.maxim-toastmaster.com/ address.I'm not 100% sure how HTTP protocol works with such redirections but, it's at least confusing to have an address permanently redirected to a second address and then, to have this second address temporarily redirected to a third one... Yet, it should work... Anyways, I think your best shot would be to redirect http://www.max-toastmaster.com/ directly to http://www.esalton.com/control/main/ , instead of just http://www.esalton.com/ .Hope this all can help you.Regards,asm__Mukarram Syed escreveu: Thanks Joost. This helps. What do we do next since it is not pointing to Apache. It looks like someone else is displaying this 404 error page. Silly question...How did you look at the headers. I downloaded http liveheaders for firefox and when I opened it up, I am not seeing anything in the headers. I know this is slightly out of scope, but I appreciate the help. thanks -Mukarram Syed. */Joost de Heer <[EMAIL PROTECTED]>/* wrote: Mukarram Syed wrote: Hi. Thanks for replying Joshua. Sorry for delay in responding back. Here is my redirect:ServerName maxim-toastmaster.com Redirect / http://www.esalton.com/ Here are the headers when I go to 'http://maxim-toastmaster.com': HTTP/1.x 301 Moved Permanently Server: Netscape-Enterprise/6.0 Date: Fri, 27 Jan 2006 09:51:16 GMT Content-Length: 0 Location: http://www.esalton.com/store/application Connection: close I.e. a Sun ONE webserver is answering and not Apache Joost - The official User-To-User support forum of t he Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!? With a free 1 GB, there's more in store with Yahoo! Mail. -The official User-To-User support forum of the Apache HTTP Server Project.See for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Mukarram Syed[EMAIL PROTECTED] What are the most popular cars? Find out at Yahoo! Autos
Re: [EMAIL PROTECTED] Yet another Redirect/ RedirectMatch question
Hi.Thanks for replying Joshua. Sorry for delay in responding back.Here is my redirect:VirtualHost *:80ServerName maxim-toastmaster.comRedirect / http://www.esalton.com//VirtualHostWhat is happening is that when I connect to http://maxim-toastmaster.comI am being redirected to a 404 error page http://www.esalton.com/store/application. This is an old page we had in our httpd.conf file and we removed it over a year ago.The IP address for maxim-toastmaster.com is owned by us.I don't know what the problem might be and why is it redirecting to the other location. BTW, the NameVirtualHost is setup:NameVirtualHost *:80Appreciate you help. ThanksJoshua Slive [EMAIL PROTECTED] wrote: On 1/25/06, Mukarram Sy ed <[EMAIL PROTECTED]> wrote: All, I have been researching on this for the past 2 hours and haven't found a solution. Here is my issue. I want to redirect http://maxim-toastmaster.com to http://www.esalton.com This is what I have tried so far: 1.ServerName maxim-toastmaster.com RedirectMatch permanent ^/$ http://www.esalton.com/ 2.ServerName maxim-toastmaster.com Redirect permanent / http://www.esalton.com/ 3. Redirect /maxim-toastmaster.com http://www.esalton.com/ None of these options worked.Not a good problem description. What exactly happened when you triedthem? Either of the first two examples should work, although theyaffect a different set of URLs. The last one is wrong.One thing to look at: Make sure you have a NameVirtualHost *:80 directive.Joshua.-The official User-To-User support forum of the Apache HTTP Server Project.See for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Mukarram Syed[EMAIL PROTECTED] Do you Yahoo!? With a free 1 GB, there's more in store with Yahoo! Mail.
Re: [EMAIL PROTECTED] Yet another Redirect/ RedirectMatch question
Thisis what I tried and it still didn't work. I just thought I would share my ideas with you.Since http://maxim-toastmaster.com is redirecting to http://www.esalton.com/store/application (404 error page), I tried to modify my below redirect.VirtualHost *:80ServerName maxim-toastmaster.comRedirect /store/application http://www.esalton.com//VirtualHostMukarram Syed [EMAIL PROTECTED] wrote: Hi.Thanks for replying Joshua. Sorry for delay in responding back.Here is my redirect:VirtualHost *:80ServerName maxim-toastmaster.comRedirect / http://www.esalton.com//VirtualHostWhat is happening is that when I connect to http://maxim-toastmaster.comI am being redirected to a 404 error page http://www.esalton.com/store/application. This is an old page we had in our httpd.conf file and we removed it over a year ago.The IP address for maxim-toastmaster.com is owned by us.I don't know what the problem might be and why is it redirecting to the other location. BTW, the NameVirtualHost is setup:NameVirtualHost *:80Appreciate you help. ThanksJoshua Slive [EMAIL PROTECTED] wrote: On 1/25/06, Mukarram Sy ed <[EMAIL PROTECTED]> wrote: All, I have been researching on this for the past 2 hours and haven't found a solution. Here is my issue. I want to redirect http://maxim-toastmaster.com to http://www.esalton.com This is what I have tried so far: 1.ServerName maxim-toastmaster.com RedirectMatch permanent ^/$ http://www.esalton.com/ 2.ServerName maxim-toastmaster.com Redirect permanent / http://www.esalton.com/ 3. Redirect /maxim-toastmaster.com http://www.esalton.com/ None of these options worked.Not a good problem description. What exactly happened when you triedthem? Either of the first two examples should work, although theyaffect a different set of URLs. The last one is wrong.One thing to look at: Make sure you have a NameVirtualHost *:80 directive.Joshua.-The official User-To-User support forum of the Apache HTTP Server Project.See for more info.To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Mukarram Syed[EMAIL PROTECTED] Do you Yahoo!? With a free 1 GB, there's more in store with Yahoo! Mail.Mukarram Syed[EMAIL PROTECTED] Bring words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.
Re: [EMAIL PROTECTED] Trouble migrating Apache server to another instance: setsid errors
It works now.I changed the port number and that did the trick. Port 80 is already being used.Mukarram Syed [EMAIL PROTECTED] wrote: Hi folks,I am trying to create another Apache instance on the same server. I am getting the following error in my httpd log file:setsid: Not ownerhttpd: setsid failedsetsid() failed probably because you aren't running under a process management tool like daemontoolsThis is what I have done so far.1. I have copied the /opt/apache-modssl directory to another directory /opt/apache-modssl-back.2. I have change the config file to point to /opt/apache-modssl-back3. I have changed my DocumentRoot and ServerRoot to point to different directories.4. I am using modssl, cronolog, MM and OpenSSL.5. I don't get any syntax errors when I run httpd -t.6. Here is my http -V compile options. [EMAIL PROTECTED]:/opt/apache-modssl-back/bin# ./httpd -VServer version: Apache/1.3.29 (Unix)Server built: Apr 15 2004 17:47:14Server's Module Magic Number: 19990320:15Server compiled with-D EAPI-D HAVE_MMAP-D USE_MMAP_SCOREBOARD-D USE_MMAP_FILES-D HAVE_FCNTL_SERIALIZED_ACCEPT-D HAVE_SYSVSEM_SERIALIZED_ACCEPT-D HAVE_PTHREAD_SERIALIZED_ACCEPT-D DYNAMIC_MODULE_LIMIT=64-D HARD_SERVER_LIMIT=2048-D HTTPD_ROOT="/opt/apache-modssl"-D SUEXEC_BIN="/opt/apache-modssl/bin/suexec"-D DEFAULT_PIDLOG="logs/httpd.pid"-D DEFAULT_SCOREBOARD="logs/httpd.scoreboard" -D DEFAULT_LOCKFILE="logs/httpd.lock"-D DEFAULT_ERRORLOG="logs/error_log"-D TYPES_CONFIG_FILE="conf/mime.types"-D SERVER_CONFIG_FILE="conf/httpd.conf"-D ACCESS_CONFIG_FILE="conf/access.conf"-D RESOURCE_CONFIG_FILE="conf/srm.conf"7. And below is my httpd.confThanksAppreciate if someone could help. I need to get his running by COB today (PST).-Mukarram Syed--httpd.conf---ServerType standaloneServerRoot "/opt/apache-modssl-back"PidFile logs/httpd.pidScoreBoardFile logs/httpd.scoreboardTimeout 60KeepAlive OnMaxKeepAliveRequests 500KeepAliveTimeout 10MinSpareServers 10MaxSpareServers 20StartServers 40MaxClients 2048MaxRequestsPerChild 1ExtendedStatus OnPort 80Listen 80User wwwGroup wwwServerAdmin [EMAIL PROTECTED]DocumentRoot "/opt/apache-modssl-back/htdocs"Directory "/opt/apache-modssl-back/htdocs/index.html.en" Options FollowSymLinks/DirectoryLocation /server-status SetHandler server-status Order deny,allow Allow from 10.185 172.20 Deny from all/LocationIfModule mod_dir.c DirectoryIndex index.jhtml index.html index.cgi /IfModuleAccessFileName .htaccessFiles ~ "^\.ht" Order allow,deny Deny from all/FilesUseCanonicalName OnIfModule mod_mime.c TypesConfig /opt/apache-modssl-back/conf/mime.types/IfModuleDefaultType text/plainHostnameLookups OffErrorLog "|/usr/local/sbin/cronolog /opt/apache-modssl-back/logs/http/mustang_http_error_log.%Y-%m-%d"LogLevel warnLogFormat "%h %l %u %t \"%r\" %s %b \"%{Refer er}i\" \"%{User-Agent}i\"" combinedLogFormat "%h %l %u %t \"%r\" %s %b" commonLogFormat "%{Referer}i - %U" refererLogFormat "%{User-agent}i" agentLogFormat "^^%h^^%t^^%r^^%s^^%B^^%T^^%p^^%{Referer}i^^%{User-Agent}i^^%{Cookie}i^^%{Cookie}n^^" extcookieCustomLog "|/usr/local/sbin/cronolog /opt/apache-modssl-back/logs/http/mustang_http_access_log.%Y-%m-%d" extcookieServerSignature OffIfModule mod_alias.c Directory "/opt/apache-modssl-back/cgi-bin" AllowOverride None Options None Order allow,deny Allow from all /Directory/IfModuleIfModule mod_autoindex.c IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-com press x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/mo vie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif ..AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ DefaultIcon /icons/unknown.gif ReadmeName README HeaderName HEADER/IfModuleIfModule mod_mime.c AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en AddLanguage et .ee AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage he .he AddCharset ISO-8859-8 .iso8859-8 AddLanguage it .it AddLanguage ja .ja AddCharse
[EMAIL PROTECTED] Yet another Redirect/ RedirectMatch question
All,I have been researching on this for the past 2 hours and haven't found a solution.Here is my issue. I want to redirect http://maxim-toastmaster.com to http://www.esalton.comThis is what I have tried so far:1.VirtualHost *:80 ServerName maxim-toastmaster.com RedirectMatch permanent ^/$ http://www.esalton.com//VirtualHost2.VirtualHost *:80 ServerName maxim-toastmaster.com Redirect permanent / http://www.esalton.com//VirtualHost3.Redirect /maxim-toastmaster.com http://www.esalton.com/None of these options worked.I am sure many people have asked this question and answered them, but these are the answers I found and implemented them and they didn't work.Appreciate your help.Thanks-Mukarram Syed. Bring words and photos together (easily) with PhotoMail - it's free and works with your Yahoo! Mail.
Re: [EMAIL PROTECTED] Redirecting limit for this URL exceeded.
Thanks Joshua for your response... Having difficulty with the ssl.conf file as well: Redirecting https://pan.eci.mgn-us.net to https://staging.esalton.com I have tried the following in my research... Added the following lines to ssl.conf: VirtualHost *:443 RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/$ https://staging.esalton.com/ [L,R] /VirtualHost I also tried: VirtuaHost _default_:443 ServerName pan.eci.mgn-us.net ServerAlias staging.esalton.com Redirect permanent / https://staging.esalton.com/ ... ... \VirtualHost This does not work as well Help is appreciated. thanks in advance. regards, -Mukarram. --- Joshua Slive [EMAIL PROTECTED] wrote: On 10/17/05, Mukarram Syed [EMAIL PROTECTED] wrote: VirtualHost *:80 ServerName esalton.com ServerAlias www.esalton.com Redirect / http://www.esalton.com/ /VirtualHost This is our second redirect-loop question today. This is a redirection loop because the redirected URL hits the same Redirect as the original URL. You want. VirtualHost *:80 ServerName esalton.com Redirect / http://www.esalton.com/ /VirtualHost VirtualHost *:80 ServerAlias www.esalton.com DocumentRoot ... /VirtualHost Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Mukarram Syed [EMAIL PROTECTED] __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]