1. new community

    Date: 05/26/05     Keywords: no keywords

    hi

    new community for kernel lovers. welcome. let's discuss it together.
    http://www.livejournal.com/community/os_kernel_il/

    Source: http://www.livejournal.com/community/apache/20667.html

  2. direct link stuff

    Date: 05/24/05     Keywords: web

    I have my first web server up and running and have a lot of graphic content that I don't want people direct linking. I had found the following to put in my httpd.conf to combat this. My problem is that I need it allow requests with no referer through. So if I give a friend a link to a file they can actually look at it...heh. I can't think of a way to do this. Any ideas?

    SetEnvIfNoCase Referer "^http://.*\.vigilant20\.com/" local_ref=1
    SetEnvIfNoCase Referer "^http://lynn\.szwalkiewicz\.com/" local_ref=1
    <FilesMatch "\.(gif|jpg|png)">
       Order Allow,Deny
       Allow from env=local_ref
    </FilesMatch>
    

    Source: http://www.livejournal.com/community/apache/20250.html

  3. Installation

    Date: 05/22/05     Keywords: php, apache

    I am wanting to install Apache on my XP (w sp2), so that I can test my PHP scipts. However, I do not have a domain name in the instal wizard, what should I put if I don't have a domain name, server name as I just want it to run on my one computer ? Does it even matter ?
    (I'm hoping this makes sense)

    Source: http://www.livejournal.com/community/apache/20146.html

  4. reverse proxying --> mega slow

    Date: 05/21/05     Keywords: web, hosting, apache

    [Error: Irreparable invalid markup ('') in entry. Owner must fix manually. Raw contents below.]

    hello all -- i don’t know where else to ask my question, so here we go. first, background on my setup. i have two webservers on an internal network, each to be responsible for hosting a unique site. i have one public IP, and all port 80 traffic is being forwarded to a third machine running mac os x server. so obviously, there would need to be some high level packet rewriting to get these requests to the correct box via the mac os x server machine. the solution? well besides acquiring another public ip (or two), reverse proxying (right?)

    the problem at the moment is that it is slow as balls. see for yourself --> http://mczapp.darktech.org (click on a japan page). the pictures come up pretty slow. compare this to behind the firewall (http://192...), the images and pages load lightning quick. what’s the deal? is it just by virtue of reverse proxying? my friend says no, based on his experience. is it that mac os x server’s apache build is just fucked/bloated like whoa? i mean, the computer is fast enough to be doing this, too. should i do precaching (i don’t even know how to do that).

    Listen *:80
    Port 80
    NameVirtualHost *:80

    ## default virtual host ###
    # if someone gets to this server with an invalid virtualhost URL
    # it’ll default to this configuration because it’s listed first

    DocumentRoot /var/docroot
    ServerName default.mcdefaulty.com
    Options -Indexes




    ######### John’s websites #########

    DocumentRoot /var/docroot/zero.darktech.org
    ServerName zero.darktech.org
    Options -Indexes
    ErrorLog “/var/log/httpd/zero.darktech.org-error.log”
    CustomLog “/var/log/httpd/zero.darktech.org-access.log” combined

    # Proxy stuff
    ProxyRequests Off
    ProxyPass / http://192.168.0.200:1337/
    ProxyPassReverse / http://192.168.0.200:1337/



    DocumentRoot /var/docroot/mczapp.darktech.org
    ServerName mczapp.darktech.org
    Options +Indexes
    ErrorLog “/var/log/httpd/mczapp.darktech.org-error.log”
    CustomLog “/var/log/httpd/mczapp.darktech.org-access.log” combined

    # Proxy stuff
    ProxyPass / http://192.168.0.200:1338/
    ProxyPassReverse / http://192.168.0.200:1338/

    in case there is something i’m forgetting. i don’t know enough about reverse proxying to really troubleshoot, so i submit to the wisdom of the lj comm.

    thanks for your help =D

    Source: http://www.livejournal.com/community/apache/19923.html

  5. Case Sensitive URLs on Windows

    Date: 04/30/05     Keywords: apache

    I'm running an Apache server on Windows as a development server for a bunch of different sites. The issue I'm having is that because each project is in it's own directory, but the production server will but the root of the domain (normally) it will run on, this presents a problem with self generating URLs a script may write. For the most part scripts have the case for the root of the project as it was typed in, but I noticed that all current links to one project is not the case as what the script expects, and as a result, a logout function I added broke because of the fact the path for the cookie is different than the cookie I want to delete, and it make it appear as though the session is not logged out because the wrong cookie was overwritten (link to the logout script is created using a different case than the URL)

    My question is (to prevent blocks of code to overcome this in my scripts to run when on the development server) if there's a way to tell Apache to use case sensitive URLs on Windows (to emulate UNIX)

    Expected results:
    -http://server/Path - page
    -http://server/path - 404

    Source: http://www.livejournal.com/community/apache/18997.html

  6. this is going to sound so dumb...

    Date: 04/19/05     Keywords: apache

    ok i want to stop a site from being cached - well i want to set the index to expire say once a week -

    now i'm not a coder just a simple stoopid designer so as you can imagine the Apache documentation gave me a headache.

    - I have cPanel.

    do i do something with the apache handlers in cPanel

    or

    do i need to create a .htaccess file and enter the code myself? and if so do i really simply type the code into the file and upload it??

    Source: http://www.livejournal.com/community/apache/18748.html

  7. virtual hosts and mod_rewrite

    Date: 04/06/05     Keywords: no keywords

    ppl, i have three virtual hosts. they all specify one folder.

    mod_rewrite configured/turned_on in .htaccess(one for three virtual hosts) in this "general" folder, but it works only in one of virtual hosts. Why? Can i fix it, if i have access for .htaccess only?

    ps. sorry for my english.

    Source: http://www.livejournal.com/community/apache/18438.html

  8. index file help

    Date: 04/01/05     Keywords: html, java, apache

    hey, I'm working on making a simple http and ftp server to share files and stuff from my cable connection here at the house. Its running apache on win xp, now if there is a folder with out an index file it generates one automatically. Now how do I customize this to change the background and how stuff looks and add links or what not? Do I have to do a server side script? or is there a way i can use java scripts or some sort of code in a html file? I'm kind of new, please help.

    Source: http://www.livejournal.com/community/apache/18392.html

  9. Apache Requests

    Date: 03/16/05     Keywords: web, google

    This is in regards to "SEARCH /\x90\xc9\xc9\xc9\xc9... etc." showing up in the server logs.

    I googled around and found this article telling me to have no reason to worry, and this article on how to disable logging of request strings that are too long. There's also a news article briefly describing the exploit. A post request is made as well: "POST /_vti_bin/_vti_aut/fp30reg.dll HTTP/1.1" 404

    I guess this is my curious side taking over. My IP address is *.45.61, I'm on a college residental network. The requests always come from with the same prefix -- *.37.86, or *.15.95, or *.37.238 - it changes every time. Why? What is triggering these addresses to access my webhost?

    Also, what kind of exploit is this? From the trend I'm seeing, making a quick post to that file right after an overflowing URI is probably the bug, but I guess I'm more curious as to what exactly can be accomplished from that.

    Thanks for any info :)

    Source: http://www.livejournal.com/community/apache/17962.html

  10. Apache2 in chroot jail, sigfaulting child process

    Date: 03/11/05     Keywords: php, linux, apache

    I upgraded apache from 2.0.52 to 2.0.53 in my chroot jail, on linux.

    it took forever to start, and then segfaulted the child processes whenever I hit the server.

    I eventually tracked the startup delay to an insufficient quantity of entropy for /dev/random. I gave it a lot more entropy and it still blocked occasionaly, so I moved to /dev/urandom.

    I moved ldd and strace into the jail to double check things. I do not appear to be missing any libraries.
    I ran strace. I ran it with a bunch of different flags, I end up with child process straces that look just fine, a couple errors that are expected due to the jail, then, BAM, SIGSEGV, with no warning or explaination.

    It doesn't segfault if I remove -D PHP5 and -D SSL... but again, I don't seem to be missing any libraries.


    child process stack trace:

    getpid() = 16013
    rt_sigaction(SIGHUP, {0xb7ca7dc0, [], SA_INTERRUPT}, {0xb7ca7dc0, [HUP USR1], 0}, 8) = 0
    rt_sigaction(SIGTERM, {0xb7ca7dc0, [], SA_INTERRUPT}, {0xb7ca7dc0, [], 0}, 8) = 0
    rt_sigaction(SIGUSR1, {SIG_IGN}, {0xb7ca7dc0, [HUP USR1], 0}, 8) = 0
    getpid() = 16013
    getpid() = 16013
    geteuid32() = 0
    setgid32(81) = 0
    open("/proc/sys/kernel/ngroups_max", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/etc/group", O_RDONLY) = 13
    fcntl64(13, F_GETFD) = 0
    fcntl64(13, F_SETFD, FD_CLOEXEC) = 0
    fstat64(13, {st_mode=S_IFREG|0644, st_size=13, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fea000
    _llseek(13, 0, [0], SEEK_CUR) = 0
    read(13, "apache:x:81:\n", 4096) = 13
    read(13, "", 4096) = 0
    close(13) = 0
    munmap(0xb7fea000, 4096) = 0
    setgroups32(1, [81]) = 0
    geteuid32() = 0
    setuid32(81) = 0
    getpid() = 16013
    gettimeofday({1110440023, 141397}, NULL) = 0
    getpid() = 16013
    brk(0x82f8000) = 0x82f8000
    getpid() = 16013
    time(NULL) = 1110440023
    gettimeofday({1110440023, 142945}, NULL) = 0
    gettimeofday({1110440023, 143359}, NULL) = 0
    semop(3014687, 0xb7d866ec, 1) = 0
    poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}], 2, -1) = 1
    accept(3, {sa_family=AF_INET, sin_port=htons(1467), sin_addr=inet_addr("xx.xx.xx.xx")}, [16]) = 13
    semop(3014687, 0xb7d866f2, 1) = 0
    gettimeofday({1110440031, 271384}, NULL) = 0
    getsockname(13, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("xx.xx.xx.xx")}, [16]) = 0
    time(NULL) = 1110440031
    gettimeofday({1110440031, 272605}, NULL) = 0
    fcntl64(13, F_GETFL) = 0x2 (flags O_RDWR)
    fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0
    time(NULL) = 1110440031
    read(13, 0x82f49d8, 8000) = -1 EAGAIN (Resource temporarily unavailable)
    poll([{fd=13, events=POLLIN, revents=POLLIN}], 1, 300000) = 1
    read(13, "\200g\1\3\0\0N\0\0\0\20\1\0\200\3\0\200\7\0\300\6\0@\2"..., 8000) = 105
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    chdir("/usr/lib/apache2") = 0
    rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
    getpid() = 16013
    getpid() = 16013
    kill(16013, SIGSEGV) = 0
    sigreturn() = ? (mask now [RTMIN])
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---


    Maybe I'm missing something?

    Source: http://www.livejournal.com/community/apache/17724.html

  11. Ubuntu PHP4 Question

    Date: 02/17/05     Keywords: php, apache

    I have successfully installed APache2 with Synaptic on Ubuntu, but the PHP module is not specified in the apache.conf file even though I used Synaptic to install PHP4. Is there a differnt method to activate the module within apache.conf?

    Source: http://www.livejournal.com/community/apache/17050.html

  12. Redirect _all_ queries to a single file

    Date: 02/06/05     Keywords: web, apache

    So I got tired of seeing advertisements on every web page I visit, really really tired. I downloaded a hosts file (http://someonewhocares.org/hosts/) that declares a huge list of servers known to display ads as 127.0.0.1, which redirects it to the copy of apache I run continuously. This of course speeds up page loads quite a bit, but it would display "page not found" errors everywhere an ad used to be. Sometimes it would just have a picture frame, but the picture would be empty. In any case, I was happy that the ads were gone.
    Then I got to thinking (uh oh!), how could I make this better? I wanted to remove the page not found text and replace it with a blank nothing, like a transparent gif or something. As it turns out, usually the requests the ad servers are to subdirectories or whatnot, usually long strings of meaningless characters. There's no possible way to put a transparent gif at every possible location, but I can use mod_rewrite instead.
    I tried playing around a bit, and came up with the idea of redirecting all requests to a small 1x1 gif that was a single transparent pixel. Problem is, I can't seem to get it to do what I want. Here is the simple rule I came up with in .htaccess

    options +FollowSymLinks

    RewriteEngine On
    RewriteBase /
    RewriteRule (.*) /trans.gif


    I have .htaccess and trans.gif stored in the root of my webserver's directory, which is /Library/WebServer/Documents. I adjusted the entry for that directory to be "AllowOverride All" just in case. Now the server is returning "Internal Server Error" instead of page not found. What am I doing wrong?

    Thanks in advance!

    Source: http://www.livejournal.com/community/apache/16787.html

  13. redirectMatch problem

    Date: 02/03/05     Keywords: php, html

    this worked perfectly on one host, but I'm having problems with it on a
    new host.

    redirectMatch 301 ^(.*)bb.html/(.*)$
    http://www.blogbloc.com/index.php?PID=1596581
    #

    The problem is that the ? get's translated to %3f so the url it
    redirects to is.
    http://www.blogbloc.com/index.php%3fPID=1596581

    How do I fix this?

    Source: http://www.livejournal.com/community/apache/16395.html

  14. Cleaning Up the Server Header

    Date: 01/20/05     Keywords: php, linux, apache

    Currently, my httpd server headers looks like:
    Apache/1.3.33 (Unix) (Gentoo/Linux) mod_perl/1.27 PHP/4.3.10

    How might I clean up the header a bit (so as to not let people know of all the modules I"m running)? Preferably, I'd like it to ONLY say Apache.

    Probably a noob question, heh, sorry.

    Source: http://www.livejournal.com/community/apache/16193.html

  15. How do I enable mod_proxy on Apache2 in linux

    Date: 01/07/05     Keywords: linux, apache

    i think i'm the only person that ever posts here. ;)

    again, i'm new to apache under linux, so this may be elementary...

    how exactly do I enable mod_proxy in Apache2? I'm pretty certain I compiled it properly, but I get Invalid command 'RewriteEngine' in the error log from my [previously working on win32 apache] .htaccess file. I am presuming this is because mod_rewrite is not enabled.

    I thought [though retrospectively incorrectly] that if I compiled Apache with --enable-MODULE it would automatically enable those modules. Is there something else I need to do?

    Here's my ./configure script -- does it look right?
    ./configure -prefix=/usr/local/apache2 \
    --enable-module=so \
    --enable-module=auth_db \
    --enable-module=digest \
    --enable-module=example \
    --enable-module=log_agent \
    --enable-module=mime_magic \
    --enable-module=usertrack \
    --enable-module=auth_anon \
    --enable-module=auth_digest \
    --enable-module=cern_meta \
    --enable-module=expires \
    --enable-module=proxy \
    --enable-module=unique_id \
    --enable-module=vhost_alias \
    --enable-module=auth_dbm \
    --enable-module=headers \
    --enable-module=info \
    --enable-module=log_referer \
    --enable-module=mmap_static \
    --enable-module=speling \
    --enable-module=rewrite


    Thanks so much!

    Source: http://www.livejournal.com/community/apache/15652.html

  16. problem reinstalling apache on linux

    Date: 01/06/05     Keywords: linux, apache

    i'm trying to reinstall apache2 on fedora 3 because i failed to compile it with mod_rewrite. i configure it with:
    ./configure -prefix=/usr/local/apache2 \
    --enable-cgi \
    --enable-info \
    --enable-rewrite \
    --enable-speling \
    --enable-usertrack \
    --enable-deflate \
    --enable-ssl \
    --enable-so \
    --enable-mime-magic \
    --enable-mods-shared=most


    now you may be wondering why that last line is there. primarily because i don't know what i'm doing. ;) i don't know what mods-shared=most includes, and i want to make sure it includes those that were explicitly stated.

    when i do a make, it terminates after a minute with Error 1


    os/unix/.libs/libos.a(unixd.o)(.text+0x202): In function `unixd_pre_config':
    /usr/src/httpd-2.0.52/os/unix/unixd.c:206: undefined reference to `ap_uname2id'
    os/unix/.libs/libos.a(unixd.o)(.text+0x213):/usr/src/httpd-2.0.52/os/unix/unixd.c:207: undefined reference to `ap_gname2id'
    os/unix/.libs/libos.a(unixd.o)(.text+0x2ce): In function `unixd_set_rlimit':
    /usr/src/httpd-2.0.52/os/unix/unixd.c:255: undefined reference to `ap_log_error'
    os/unix/.libs/libos.a(unixd.o)(.text+0x2ea):/usr/src/httpd-2.0.52/os/unix/unixd.c:246: undefined reference to `ap_getword_conf'
    os/unix/.libs/libos.a(unixd.o)(.text+0x350):/usr/src/httpd-2.0.52/os/unix/unixd.c:268: undefined reference to `ap_log_error'
    os/unix/.libs/libos.a(unixd.o)(.text+0x38e):/usr/src/httpd-2.0.52/os/unix/unixd.c:260: undefined reference to `ap_getword_conf'
    os/unix/.libs/libos.a(unixd.o)(.text+0x7ed): In function `unixd_accept':
    /usr/src/httpd-2.0.52/os/unix/unixd.c:585: undefined reference to `ap_log_error'
    collect2: ld returned 1 exit status
    make[1]: *** [httpd] Error 1
    make[1]: Leaving directory `/usr/src/httpd-2.0.52'
    make: *** [all-recursive] Error 1


    now, i did not 'uninstall' the previous version of apache because it didn't have a make uninstall and i thought it would just overwrite the necessary files when i did a make install. any help is appreciated!

    x:'[info]'linuxsupport

    Source: http://www.livejournal.com/community/apache/15490.html

  17. How do I proxy requests to a server behind a firewall

    Date: 12/18/04     Keywords: hosting, apache

    Hi everybody!

    I've got two apache servers, each hosting off of :80. Both are behind a NAT router and I only have one IP address. :80 is forwarded to one server [www.vaxlan.net], and I'm trying to find a way to configure it such that it will pass requests to the other server [fade.vaxlan.net], which only has a private IP address.

    I was thinking that mod_proxy might be the way to go, but I can't seem to find any clear solution. Any thoughts would be appreciated!

    Source: http://www.livejournal.com/community/apache/15081.html

  18. Deploying a simple servlet on Tomcat.

    Date: 12/14/04     Keywords: browser, html, xml, java, web

    Edit: Thanks, solved.

    Hi, I'm having problems deploying a very simple servlet on Tomcat 5.5. When I direct my browser to the expected URL, Tomcat just spits back a blank "Directory Listing for /" page, and I'm not seeing anything helpful in the logs.

    I'm wondering if the problem is that I have not included any .html files in my webapp ... but I don't understand why I would need to, or what I would have to put in it.


    Compiles fine.
    Servlet Code:
    public class HelloWorldExample extends HttpServlet {


    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws IOException, ServletException
    {
       response.setContentType("text/html");
       PrintWriter out = response.getWriter();
       out.println("");
       out.println("");
       out.println("");
       out.println("See my first demo work!");
       out.println("");
       out.println("
    ");
    }
    }

    The URL I type into my browser is
    http://localhost:8080/Hello. No dice :(

    Web.xml config:



     Hello v2
     Hello Demo
     
      Hello
      HelloWorldExamplelet-class>
     

     
      Hello
      /Hello



    As I understand it, this configuration should allow me to access my servlet by http://localhost:8080/Hello

    .war layout:
    demo/
    WEB-INF/web.xml
    WEB-INF/classes/HelloWorldExample.class
    WEB-INF/classes/HelloWorldExample.java


    I've read the tomcat docs and "Tomcat - The Definitive Guide" (O'Reilly). Many thanks if anyone could offer me some pointers.
    -Phil

    Source: http://www.livejournal.com/community/apache/14800.html

  19. Rewrite rule help in apache 2.

    Date: 12/09/04     Keywords: php, web, hosting

    We are using dynamic virtual hosting for a number of domains. The original request was to be able to go to http://somedomain.com/dav and update a webpage. This worked great. But now we would like to do this with dav over ssl. We don't want to buy an ssl certificate for every domain, so I would like to do a redirect from the virtual host to the ssl host. I can not do a Redirect /dav https://sslhost.com/davvhosts/%O as Redirect can not handle the %O.

    So I would like to do a Rewrite on the ssl server based on the HTTP_REFERER variable, but I can't get it to work:



    The Virtual host stuff:

    
      UseCanonicalName Off
      CustomLog logs/access_log vcommon
      VirtualDocumentRoot /web/vhosts/%0/htdocs
      VirtualScriptAlias /web/vhosts/%0/cgi-bin
      
        Options FollowSymLinks ExecCGI Multiviews Includes
        AllowOverride All
      
      
        ForceType application/x-httpd-php
      
      Redirect /dav https://www.sightworks.net/davvhosts
    
    


    Then in the SSL side I tried a couple things. First just modifying the HTTP_REFERER variable:
    RewriteEngine On
    RewriteMap lowercase int:tolower
    RewriteCond %{HTTP_REFERER} /dav/
    RewriteRule ^http://(.*)/dav/ $1
    RewriteCond %{REQUEST_URI} !^/icons/
    RewriteCond %{REQUEST_URI} !^/cgi-bin/
    RewriteCond %{REQUEST_URI} ^/davvhosts/
    RewriteRule ^/(.*)$ /www/vhosts/${lowercase:%{HTTP_REFERER}}/$1
    RewriteCond %{REQUEST_URI} ^/cgi-bin/
    RewriteRule ^/(.*)$ /www/vhosts/${lowercase:%{HTTP_REFERER}}/cgi-bin/$1 [T=application/x-httpd-cgi]
    RewriteCond %{REQUEST_URI} !^/icons/
    RewriteCond %{REQUEST_URI} !^/cgi-bin/
    RewriteCond %{REQUEST_URI} ^/davhosts/
    RewriteRule ^/(.*)$ /www/hosts/${lowercase:%{HTTP_REFERER}}/$1
    RewriteCond %{REQUEST_URI} ^/cgi-bin/
    
    
    I also tried just setting a different variable and using it, but that did not work either:
    
    RewriteEngine On
    RewriteMap lowercase int:tolower
    RewriteCond %{HTTP_REFERER} /dav/
    RewriteRule ^http://(.*)/dav/ - [E=HTTP_REFERER_HOST:$1]
    RewriteCond %{REQUEST_URI} !^/icons/
    RewriteCond %{REQUEST_URI} !^/cgi-bin/
    RewriteCond %{REQUEST_URI} ^/davvhosts/
    RewriteRule ^/(.*)$ /www/vhosts/${lowercase:%{HTTP_REFERER_HOST}}/$1
    RewriteCond %{REQUEST_URI} ^/cgi-bin/
    RewriteRule ^/(.*)$ /www/vhosts/${lowercase:%{HTTP_REFERER_HOST}}/cgi-bin/$1 [T=application/x-httpd-cgi]
    RewriteCond %{REQUEST_URI} !^/icons/
    RewriteCond %{REQUEST_URI} !^/cgi-bin/
    RewriteCond %{REQUEST_URI} ^/davhosts/
    RewriteRule ^/(.*)$ /www/hosts/${lowercase:%{HTTP_REFERER_HOST}}/$1
    RewriteCond %{REQUEST_URI} ^/cgi-bin/
    
    
    
    In both cases it looks like the variable being set ends up blank.
    
    Is what I want to do possible? If so, what am I doing wrong?
    
    
    
    CANCEL THAT QUESTION! I figured out the answer:
    
    
      RewriteEngine on
      RewriteLog    /web/etc/httpd/logs/rewrite.log
      RewriteCond   %{REQUEST_URI}  ^/dav$  [OR]
      RewriteCond   %{REQUEST_URI}  ^/dav/
      RewriteCond   %{HTTP_HOST}    !^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$
      RewriteRule   ^/dav.*$                https://www.sslhost.net/davvhosts/%{HTTP_HOST}/      [R,L]
    

    Source: http://www.livejournal.com/community/apache/14489.html

  20. SSL migration woes...

    Date: 11/30/04     Keywords: apache

    I'm trying to move our SSL certificate to a new server. So I copy the crt and key files over, and changed DNS to make the name they are registered to point to the new server. But first I left the default ssl config in place to test. The default config correctly complainned that the hostname does not match the localhost.localdomain in the certificate. So I changed the config to point to the new certificates and restarted apache. Apache started without error, and there were no errors in the logs. But port 443 was only doing http, not https.

    The only mention of 443 is in ssl.conf which is being loaded by httpd.conf.

    This is with apache 2.0.48 with mod_ssl and OpenSSL, running on a RedHat 9 system.

    Source: http://www.livejournal.com/community/apache/14182.html

Previous page  ||  Next page


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home