Re: [EMAIL PROTECTED] SSLVerifyClient with IE7
I tried to merged the tow different CA certificate files and added OptRenegotiate to the directories ssl options - without any success. Here's the new httpd.conf part: SSLEngine on SSLProtocol +SSLv3 SSLCipherSuite HIGH:MEDIUM:SSLv3 SSLCertificateFile /etc/httpd/conf/ssl.crt/mydomain.crt SSLCertificateKeyFile /etc/httpd/conf/ssl.key/mydomain.key SSLCACertificateFile /etc/httpd/conf/ssl.crt/mydomain.ca-bundle SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 SSLVerifyClient optional SSLVerifyDepth 5 SSLOptions +FakeBasicAuth +StdEnvVars +ExportCertData +OptRenegotiate Any suggestions what's the problem with IE7? Dan Osterrath wrote: > > I've setup a https site with Apache 2.0.52, mod_ssl 2.0.52 and OpenSSL > 0.9.7a (Red Hat Enterprise Linux ES release 4 (Nahant Update 4)). A > special directory should be optional authenticated via client certificate. > This works with Firefox, Netscape, IE6 but not with IE7 (Windows XP SP2 > and Windows Vista). > > When trying to access the page with IE7 the browser let me choose the > client certificate but then shows the error message "The browser can not > connect to the site.". In the log files of the server there's only 1 new > line: > > [error] Re-negotiation handshake failed: Not accepted by client!? > > Here's the httpd.conf part for SSL: > > SSLEngine on > SSLProtocol +SSLv3 > SSLCipherSuite HIGH:MEDIUM:SSLv3 > SSLCertificateFile /etc/httpd/conf/ssl.crt/mydomain.crt > SSLCertificateKeyFile /etc/httpd/conf/ssl.key/mydomain.key > SSLCACertificateFile /etc/httpd/conf/ssl.crt/mydomain.ca-bundle > SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown > downgrade-1.0 force-response-1.0 > > > SSLVerifyClient optional > SSLVerifyDepth 5 > SSLCACertificateFile /etc/httpd/conf/protected/ssl.crt > SSLOptions +FakeBasicAuth +StdEnvVars +ExportCertData > > > Any suggestions? > -- View this message in context: http://www.nabble.com/SSLVerifyClient-with-IE7-tp15827486p15852666.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
[EMAIL PROTECTED] Costume 406 in PHP with available variants
Hi, Apache’s default 406 Not Acceptable error page is somewhat…unfriendly to the users. Especially in my case because I am creating a page for elderly people in Norway, and an error showing “advanced computer‐English” is not something I want to serve them. What I want is to get the list of ‘available variants’ that Apache serves the users (below) in PHP. Preferably in an Array so I can rewrite it to be more user friendly instead of just a technical file list. The default Apache 406 page is setup something like this: “406 Not Acceptable Available variants: index.en.html, type text/html, language en index.nb.html, type text/html, language nb” Can the same be achieved in PHP? -- Daniel’s linux blog – http://www.opensource-notebook.com/ - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
[EMAIL PROTECTED] Mod_proxy_balancer issues
Hello, I'm trying to create two balancers within a single virtual host in order to distinguish between static content and dynamically generated (application) data. I have two webservers; on each one, I run an apache instance for static content on port 81, documentroot /var/www/html-static and an apache instance for application data on port 80, documentroot /var/www/html-apps I've tried the following setup ProxyRequests Off Order deny,allow Allow from all ProxyPass /static/ balancer://static-cluster/ ProxyPass /apps/ balancer://apps-cluster/ BalancerMember http://web1.domain:81 loadfactor=1 BalancerMember http://web2.domain:81 loadfactor=1 BalancerMember http://web1.domain:80 loadfactor=1 BalancerMember http://web2.domain:80 loadfactor=1 I've omitted proxypassreverse directives for now, but my general problem is that getting cluster/static/index html or cluster/apps/index.html sometimes tries to retrieve the index.html from a wrong apache instance (ie getting static/... from aport 80 apache when it should connect to port 81 instances). So my questions are: is what I'm trying to do supported (> 1 balancer in a single virtual host, depending on the URL accessed), and if so, what am I conceptually doing wrong in my setup? (I have already tried lots of different permutations of using / omitting trailing slashes to the paths mentioned) Pieter - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
Re: [EMAIL PROTECTED] Mod_proxy_balancer issues
> Hello, > > I'm trying to create two balancers within a single virtual host in order > to distinguish between static content and dynamically generated > (application) data. > > I have two webservers; on each one, I run an apache instance for static > content on port 81, documentroot /var/www/html-static and an apache > instance for application data on port 80, documentroot /var/www/html-apps > > I've tried the following setup > > > >ProxyRequests Off > > > Order deny,allow > Allow from all > > >ProxyPass /static/ balancer://static-cluster/ >ProxyPass /apps/ balancer://apps-cluster/ > > > BalancerMember http://web1.domain:81 loadfactor=1 > BalancerMember http://web2.domain:81 loadfactor=1 > > > > BalancerMember http://web1.domain:80 loadfactor=1 > BalancerMember http://web2.domain:80 loadfactor=1 > > > > > I've omitted proxypassreverse directives for now, but my general problem > is that getting cluster/static/index html or cluster/apps/index.html > sometimes tries to retrieve the index.html from a wrong apache instance > (ie getting static/... from aport 80 apache when it should connect to port > 81 instances). > > So my questions are: is what I'm trying to do supported (> 1 balancer in a > single virtual host, depending on the URL accessed), and if so, what am I > conceptually doing wrong in my setup? > > (I have already tried lots of different permutations of using / omitting > trailing slashes to the paths mentioned) > > Pieter > Some info was missing: the mod_proxy_balancer apache machine is a RHEL 5 machine, apache 2.2.3. > - > The official User-To-User support forum of the Apache HTTP Server Project. > See 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] > - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
[EMAIL PROTECTED] permission on /var/www & /var/www/html
hi all, assume apache runs under apache user/group and i have a user/group name "weber". i use "weber" user to upload files via ftp/sftp. where should i place my include files so that no one can access except apache b/c these files contained user/pw for mysql. i usually place them in /var/www/html/includes, but people can access to this folder, so i'm thinking place them in /var/www/includes. what should the permission for /var/www/html and /var/www/inclues/? what group should these two directories belong to??? thanks, t. hiep - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
Re: [EMAIL PROTECTED] Costume 406 in PHP with available variants
On Wed, Mar 5, 2008 at 10:30 AM, Daniel Aleksandersen <[EMAIL PROTECTED]> wrote: > Hi, > > Apache's default 406 Not Acceptable error page is somewhat…unfriendly to > the users. Especially in my case because I am creating a page for elderly > people in Norway, and an error showing "advanced computer‐English" is not > something I want to serve them. > > What I want is to get the list of 'available variants' that Apache serves > the users (below) in PHP. Preferably in an Array so I can rewrite it to > be more user friendly instead of just a technical file list. The default > Apache 406 page is setup something like this: > > "406 Not Acceptable > Available variants: > index.en.html, type text/html, language en > index.nb.html, type text/html, language nb" > > Can the same be achieved in PHP? I don't believe so. You can check the contents of the ERROR_NOTES and REDIRECT_ERROR_NOTES environment variables, but I don't think they contain all the information. There is an alternative, however. You can use ForceLanguagePriority to avoid the 406 page entirely. If you really want to provide a page of different options, you would need to build that youself (by scanning the filesystem in php) and then assign that page some arbitrary (non-existent) language which you would list first in your LanguagePriority directive. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
Re: [EMAIL PROTECTED] build Apache 2.2.8 error ( httpd : error PRJ0002 : error result returned from 'rc.exe'. )
What appears to have happened is that you've opened it up unsuccessfully in Visual Studio; before you convert to an .sln file + .vcproj files, it's important to invoke the perl script perl srclib\apr\build\cvtdsp.pl -2005 which will do evil things to the .dsp file syntax, breaking them forever but allowing us to work around a visual studio bug. Then, load the Apache.dsw into a modern visual studio; it should 'just work'. If .sln files exist, nmake -f Makefile.win it tries to use them with devenv, else if the .mak files exist, it uses those with nmake. Finally it falls back on using msdev of the .dsw file (visual studio 6 style). But you can override this all and save yourself the grief; simply add the flag like nmake -f makefile.win USEMAK=1 ... and it won't use these troubled .sln files in your build tree! Yours, Bill Suman Mukherjee wrote: Hi all I am getting following error while trying to build Apache 2.2.8 src in windows with nmake tool in VC7 platform. Build Log --- Build started: Project: httpd, Configuration: Release|Win32 --- Command Lines httpd : warning PRJ0041 : Cannot find missing dependency 'ICON_FILE' for file 'httpd.rc'. Your project may still build, but may continue to appear out of date until this file is found. httpd : warning PRJ0041 : Cannot find missing dependency 'strings.h' for file 'httpd.rc'. Your project may still build, but may continue to appear out of date until this file is found. Creating command line "rc.exe /d "NDEBUG" /d "APP_FILE" /d "BIN_NAME="httpd.exe"" /d "LONG_NAME="Apache HTTP Server"" /d "ICON_FILE="apache.ico"" /l 0x409 /I "build\win32" /I "./include" /I "./srclib/apr/include" /fo".\Release/httpd.res" ".\build\win32\httpd.rc"" Output Window Compiling resources... fatal error RC1107: invalid usage; use RC /? for Help httpd : error PRJ0002 : error result returned from 'rc.exe'. httpd : warning PRJ0041 : Cannot find missing dependency 'ICON_FILE' for file 'httpd.rc'. Your project may still build, but may continue to appear out of date until this file is found. httpd : warning PRJ0041 : Cannot find missing dependency 'strings.h' for file 'httpd.rc'. Your project may still build, but may continue to appear out of date until this file is found. - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
[EMAIL PROTECTED] Apache 2.2.8 on Solaris 10 (libgcc_s.so problems after compiling)
All -- I know there have been some messages in the past, however I have not run into this problem until I upgraded from Solaris 2.9 to Solaris 2.10. Everything seems to compile correctly however upon closer inspection libgcc_s.so.1 is not found at runtime. I am currently using gcc version 3.4.6 on Solaris 2.10. After a compilation a ldd reveals: # ldd httpd libssl.so.0.9.8 => /usr/local/lib/libssl.so.0.9.8 libcrypto.so.0.9.8 =>/usr/local/lib/libcrypto.so.0.9.8 libdl.so.1 =>/lib/libdl.so.1 libm.so.2 => /lib/libm.so.2 libaprutil-1.so.0 => /usr/local/apache/lib/libaprutil-1.so.0 libexpat.so.0 => /usr/local/apache/lib/libexpat.so.0 libiconv.so.2 => /usr/local/lib/libiconv.so.2 libapr-1.so.0 => /usr/local/apache/lib/libapr-1.so.0 libuuid.so.1 => /lib/libuuid.so.1 libsendfile.so.1 => /lib/libsendfile.so.1 librt.so.1 =>/lib/librt.so.1 libsocket.so.1 =>/lib/libsocket.so.1 libnsl.so.1 => /lib/libnsl.so.1 libpthread.so.1 => /lib/libpthread.so.1 libc.so.1 => /lib/libc.so.1 libgcc_s.so.1 => (file not found) libgcc_s.so.1 => (file not found) libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 libaio.so.1 => /lib/libaio.so.1 libmd.so.1 =>/lib/libmd.so.1 libmp.so.2 =>/lib/libmp.so.2 libscf.so.1 => /lib/libscf.so.1 libdoor.so.1 => /lib/libdoor.so.1 libuutil.so.1 => /lib/libuutil.so.1 libgen.so.1 => /lib/libgen.so.1 /platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1 /platform/SUNW,Sun-Fire-280R/lib/libmd_psr.so.1 # Here are my compile options: ./configure --prefix=/usr/local/apache --enable-so --enable-ssl --with-ssl=/usr/local LD_OPTIONS='-L/usr/local/lib' This occurs without setting LD_LIBRARY_PATH (I prefer not to take that route). Although, I could edit envvars to include /usr/loca/lib and everything works fine. Has anyone else run into this problem? Just a guess but things changed quite drastically in Solaris 2.10. - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
[EMAIL PROTECTED] Cannot access "localhost"
*In Short: - After fresh installation of apache2 trying to access localhost or 127.0.0.1 is not working - OS: Ubuntu Gutsy * Hello, This is my first post on the mailing list and I try to write as precisely as possible. Actual result: --- After installation of Apache when trying to access "localhost" via the browser, it loads for several minutes and then an error msg appears. Ultimately an time out error appears. What I did: -- - Installed apache2 via synaptic - while installing apache 2 an error msg about a qualified domain name appeared: /// Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName /// After some research I figured out that I had to add *ServerName "localhost"* to the apache2.conf - I restarted and restarting apache2 made the error about qualified domain name vanish. /// # Do NOT add a slash at the end of the directory path. # ServerRoot "/etc/apache2" ServerName "localhost" /// When writing now: "localhost" or "127.0.0.1" as the URL, it didn't show the message "It works". I recognized, that the /var/www folder did not contain any index file, but the /var/www/apache2-default folder. Thus I tried the following changes on */etc/apache2/sites-available/default: * 1) Document Root /var/www/apache2-default 2) Directory /var/www/apache2-default 3) removing the # from #RedirectMatch ^/$ /apache2-default/ However, I was not successful. Does anybody know how to make accessing localhost work? or point me to some tutorial that is addressing the issue? Further research: -- Here also the data from the /etc/hosts: 127.0.0.1 localhost 127.0.1.1 ben-desktop # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts the /etc/host.conf contains: # The "order" line is only used by old versions of the C library. order hosts,bind multi on Looking forward to a hint how to access localhost! Ben - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
Re: [EMAIL PROTECTED] Cannot access "localhost"
On Wed, Mar 5, 2008 at 2:12 PM, Ben Schonle <[EMAIL PROTECTED]> wrote: > - Installed apache2 via synaptic Yah, well, who knows what the heck you get with that. You may be better off on an Ubuntu forum where they have some idea how they have configured apache. > - while installing apache 2 an error msg about a qualified domain name > appeared: > > /// > Starting web server apache2 > apache2: Could not reliably determine the server's fully qualified > domain name, using 127.0.1.1 for ServerName I hope that is a type for 127.0.0.1, since otherwise things are really confused here. > After some research I figured out that I had to add *ServerName > "localhost"* to the apache2.conf - I restarted and restarting apache2 > made the error about qualified domain name vanish. No, you really need a fully-qualified hostname. See: http://wiki.apache.org/httpd/CouldNotDetermineServerName > When writing now: "localhost" or "127.0.0.1" as the URL, it didn't show > the message "It works". > Here also the data from the /etc/hosts: > 127.0.0.1 localhost > 127.0.1.1 ben-desktop Hmmm... Maybe the 127.0.1.1 thing wasn't a typo. This may be some Ubuntu-specific setup. But it is unclear what address the loop-back interface is living on for your system. You should start by looking in your httpd.conf and other Include'd config files for Listen directives. These directives tell apache exactly what IP addresses and ports it is expected to answer on. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
Re: [EMAIL PROTECTED] Cannot access "localhost"
Hi, thx @Joshua for the quick answer. In fact the error msg about the qualified domain contained 127.0.1.1 and not 127.0.0.1 /// Setting up apache2-mpm-worker (2.2.4-3ubuntu0.1) ... * Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName /// Following Joshuas advice I checked the httpd.conf and also the ports.conf. The httpd.conf is empty - about this I had researched already and read that it is supposed to be empty due to the new apache2.conf file??? The ports.conf contains: // Listen 80 Listen 443 // Any furthe advice? Here also the data from the /etc/hosts: 127.0.0.1 localhost 127.0.1.1 ben-desktop cheers, Ben Joshua Slive wrote: On Wed, Mar 5, 2008 at 2:12 PM, Ben Schonle <[EMAIL PROTECTED]> wrote: - Installed apache2 via synaptic Yah, well, who knows what the heck you get with that. You may be better off on an Ubuntu forum where they have some idea how they have configured apache. - while installing apache 2 an error msg about a qualified domain name appeared: /// Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName I hope that is a type for 127.0.0.1, since otherwise things are really confused here. After some research I figured out that I had to add *ServerName "localhost"* to the apache2.conf - I restarted and restarting apache2 made the error about qualified domain name vanish. No, you really need a fully-qualified hostname. See: http://wiki.apache.org/httpd/CouldNotDetermineServerName When writing now: "localhost" or "127.0.0.1" as the URL, it didn't show the message "It works". Here also the data from the /etc/hosts: 127.0.0.1 localhost 127.0.1.1 ben-desktop Hmmm... Maybe the 127.0.1.1 thing wasn't a typo. This may be some Ubuntu-specific setup. But it is unclear what address the loop-back interface is living on for your system. You should start by looking in your httpd.conf and other Include'd config files for Listen directives. These directives tell apache exactly what IP addresses and ports it is expected to answer on. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See 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] - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
Re: [EMAIL PROTECTED] Cannot access "localhost"
On Wed, Mar 5, 2008 at 2:38 PM, Ben Schonle <[EMAIL PROTECTED]> wrote: > Hi, > > thx @Joshua for the quick answer. > > In fact the error msg about the qualified domain contained 127.0.1.1 and > not 127.0.0.1 > Listen 80 Have you tried connecting to http://127.0.1.1/? If that isn't it, then get out netstat and see what ports apache is listening on. Based on the above Listen directive, it should be listening on every IP available. Joshua. > > > Listen 443 > > // > > Any furthe advice? > > > Here also the data from the /etc/hosts: > 127.0.0.1 localhost > 127.0.1.1 ben-desktop > > > cheers, > Ben > > > > > > Joshua Slive wrote: > > On Wed, Mar 5, 2008 at 2:12 PM, Ben Schonle <[EMAIL PROTECTED]> wrote: > > > > > >> - Installed apache2 via synaptic > >> > > > > Yah, well, who knows what the heck you get with that. You may be > > better off on an Ubuntu forum where they have some idea how they have > > configured apache. > > > > > >> - while installing apache 2 an error msg about a qualified domain name > >> appeared: > >> > >> /// > >> Starting web server apache2 > >> apache2: Could not reliably determine the server's fully qualified > >> domain name, using 127.0.1.1 for ServerName > >> > > > > I hope that is a type for 127.0.0.1, since otherwise things are really > > confused here. > > > > > >> After some research I figured out that I had to add *ServerName > >> "localhost"* to the apache2.conf - I restarted and restarting apache2 > >> made the error about qualified domain name vanish. > >> > > > > No, you really need a fully-qualified hostname. See: > > http://wiki.apache.org/httpd/CouldNotDetermineServerName > > > > > >> When writing now: "localhost" or "127.0.0.1" as the URL, it didn't show > >> the message "It works". > >> > > > > > >> Here also the data from the /etc/hosts: > >> 127.0.0.1 localhost > >> 127.0.1.1 ben-desktop > >> > > > > Hmmm... Maybe the 127.0.1.1 thing wasn't a typo. This may be some > > Ubuntu-specific setup. But it is unclear what address the loop-back > > interface is living on for your system. > > > > You should start by looking in your httpd.conf and other Include'd > > config files for Listen directives. These directives tell apache > > exactly what IP addresses and ports it is expected to answer on. > > > > Joshua. > > > > > > - > > The official User-To-User support forum of the Apache HTTP Server Project. > > See 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] > > > > > > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See 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] > > - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
Re: [EMAIL PROTECTED] Cannot access "localhost"
Hey, Joshua you are great, thx for the fast replies. 1) http://127.0.1.1/ doesn't work either 2) sudo netstat -anp | grep '^tcp.*LISTEN' (I am a newbie to Linux and I found this command, because just entering netstat produced too much information). produces the following [EMAIL PROTECTED]:~$ sudo netstat -anp | grep '^tcp.*LISTEN' [sudo] password for ben: tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5114/apache2 tcp6 0 0 :::22 :::* LISTEN 4693/sshd /// If I understand it correctly apache is listening on port 80. Btw what does the number 5114 in front of apache2 mean? greets, Ben Joshua Slive wrote: On Wed, Mar 5, 2008 at 2:38 PM, Ben Schonle <[EMAIL PROTECTED]> wrote: Hi, thx @Joshua for the quick answer. In fact the error msg about the qualified domain contained 127.0.1.1 and not 127.0.0.1 Listen 80 Have you tried connecting to http://127.0.1.1/? If that isn't it, then get out netstat and see what ports apache is listening on. Based on the above Listen directive, it should be listening on every IP available. Joshua. Listen 443 // Any furthe advice? Here also the data from the /etc/hosts: 127.0.0.1 localhost 127.0.1.1 ben-desktop cheers, Ben Joshua Slive wrote: > On Wed, Mar 5, 2008 at 2:12 PM, Ben Schonle <[EMAIL PROTECTED]> wrote: > > >> - Installed apache2 via synaptic >> > > Yah, well, who knows what the heck you get with that. You may be > better off on an Ubuntu forum where they have some idea how they have > configured apache. > > >> - while installing apache 2 an error msg about a qualified domain name >> appeared: >> >> /// >> Starting web server apache2 >> apache2: Could not reliably determine the server's fully qualified >> domain name, using 127.0.1.1 for ServerName >> > > I hope that is a type for 127.0.0.1, since otherwise things are really > confused here. > > >> After some research I figured out that I had to add *ServerName >> "localhost"* to the apache2.conf - I restarted and restarting apache2 >> made the error about qualified domain name vanish. >> > > No, you really need a fully-qualified hostname. See: > http://wiki.apache.org/httpd/CouldNotDetermineServerName > > >> When writing now: "localhost" or "127.0.0.1" as the URL, it didn't show >> the message "It works". >> > > >> Here also the data from the /etc/hosts: >> 127.0.0.1 localhost >> 127.0.1.1 ben-desktop >> > > Hmmm... Maybe the 127.0.1.1 thing wasn't a typo. This may be some > Ubuntu-specific setup. But it is unclear what address the loop-back > interface is living on for your system. > > You should start by looking in your httpd.conf and other Include'd > config files for Listen directives. These directives tell apache > exactly what IP addresses and ports it is expected to answer on. > > Joshua. > - > The official User-To-User support forum of the Apache HTTP Server Project. > See 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] > > - The official User-To-User support forum of the Apache HTTP Server Project. See 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] - The official User-To-User support forum of the Apache HTTP Server Project. See 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] - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
Re: [EMAIL PROTECTED] Cannot access "localhost"
On Wed, Mar 5, 2008 at 3:00 PM, Ben Schonle <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED]:~$ sudo netstat -anp | grep '^tcp.*LISTEN' > [sudo] password for ben: > tcp0 0 0.0.0.0:80 0.0.0.0:* > LISTEN 5114/apache2 So apache is listening on port 80 of all IP addresses. This is as it should be. Then why can't you connect? It could be any number of reasons, but very few of them have anything to do with apache configuration. That is why I again recommend you head over to a ubuntu forum where they understand how your system is setup. You could have a firewall in place. You could be connecting from the wrong machine. There could be some deeper network configuration error on the box. I don't know. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
Re: [EMAIL PROTECTED] Cannot access "localhost"
I am waiting for replies from Ubuntu still. If I find something out, I will let you guys know. Thx very much so far! Joshua Slive wrote: On Wed, Mar 5, 2008 at 3:00 PM, Ben Schonle <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED]:~$ sudo netstat -anp | grep '^tcp.*LISTEN' [sudo] password for ben: tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5114/apache2 So apache is listening on port 80 of all IP addresses. This is as it should be. Then why can't you connect? It could be any number of reasons, but very few of them have anything to do with apache configuration. That is why I again recommend you head over to a ubuntu forum where they understand how your system is setup. You could have a firewall in place. You could be connecting from the wrong machine. There could be some deeper network configuration error on the box. I don't know. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See 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] - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
Re: [EMAIL PROTECTED] Apache 2.2.8 on Solaris 10 (libgcc_s.so problems after compiling)
Greg W. Smith wrote: libgcc_s.so.1 => (file not found) libgcc_s.so.1 => (file not found) libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 libgcc is sometimes found. Here are my compile options: ./configure --prefix=/usr/local/apache --enable-so --enable-ssl --with-ssl=/usr/local LD_OPTIONS='-L/usr/local/lib' This occurs without setting LD_LIBRARY_PATH (I prefer not to take that route). Although, I could edit envvars to include /usr/loca/lib and everything works fine. Has anyone else run into this problem? Just a guess but things changed quite drastically in Solaris 2.10. I've seen this before on Solaris when shared libraries that need libgcc were not compiled with the correct library search path. The main application can find libgcc just fine, but the shared libraries don't inherit the applications library path. I've also noticed that you have LD_OPTIONS='-L/usr/local/lib'. I would use LD_OPTIONS='-L/usr/local/lib -R/usr/local/lib' to ensure that the runtime library path is set correctly. Cheers -- Lloyd Parkes Senior Systems Programmer Open Systems Ph: +64 4 890 2437 - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
Re: [EMAIL PROTECTED] Apache 2.2.8 on Solaris 10 (libgcc_s.so problems after compiling)
Lloyd -- thanks for the information. I actually tried the LD_OPTIONS='-L/usr/local/lib -R/usr/local/lib' as well with no luck. I got the same output as you noted in your message. Greg Lloyd Parkes wrote: Greg W. Smith wrote: libgcc_s.so.1 => (file not found) libgcc_s.so.1 => (file not found) libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 libgcc is sometimes found. Here are my compile options: ./configure --prefix=/usr/local/apache --enable-so --enable-ssl --with-ssl=/usr/local LD_OPTIONS='-L/usr/local/lib' This occurs without setting LD_LIBRARY_PATH (I prefer not to take that route). Although, I could edit envvars to include /usr/loca/lib and everything works fine. Has anyone else run into this problem? Just a guess but things changed quite drastically in Solaris 2.10. I've seen this before on Solaris when shared libraries that need libgcc were not compiled with the correct library search path. The main application can find libgcc just fine, but the shared libraries don't inherit the applications library path. I've also noticed that you have LD_OPTIONS='-L/usr/local/lib'. I would use LD_OPTIONS='-L/usr/local/lib -R/usr/local/lib' to ensure that the runtime library path is set correctly. Cheers - The official User-To-User support forum of the Apache HTTP Server Project. See 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]
Re: [EMAIL PROTECTED] Apache 2.2.8 on Solaris 10 (libgcc_s.so problems after compiling)
Greg W. Smith wrote: Lloyd -- thanks for the information. I actually tried the LD_OPTIONS='-L/usr/local/lib -R/usr/local/lib' as well with no luck. I got the same output as you noted in your message. If you run a Solaris program with LD_DEBUG set to suitable values, the runtime linker will tell you which library is loading what from where. This doesn't work with ldd. See the ld.so.1 and lari manual pages. Cheers -- Lloyd Parkes Senior Systems Programmer Open Systems Ph: +64 4 890 2437 - The official User-To-User support forum of the Apache HTTP Server Project. See 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]