Tuesday, 23 January 2007
|
| RE: APR, Oracle and PHP & CGI.. and now mod_dbd Jeremie Garnier 00:42:53 |
| | Hi all,
So have some news about APR/APU, Oracle and PHP & CGI...
I make a CGI script and I can access to the Oracle XE database... To resolve the problem, I make some modification in order to link apache with APR/APU and in the driver of oracle (make another initialisation of the environment)...
And so, it works!!! Good results...
Now, I will use mod_dbd... Do you know how include mod_dbd API in a cgi script (or C program) as there no example or documentation of mod_dbd...
Thanks all for your help...
JИrИmie GARNIER
-----Message d'origine----- De : Bojan Smojver [mailto:bojan@rexursive.com] EnvoyИ : vendredi 19 janvier 2007 00:48 ю : Garnier, Jeremie Cc : Justin Erenkrantz; dev@apr.apache.org Objet : Re: APR, Oracle and PHP & CGI
Quoting "Garnier, Jeremie" <JGarnier@nds.com>:
It loads the oracle driver (via the function apr_dbd_get_driver but the function a^pr_dbd_open doesn't work (into apache, not with the dbd program (in httpd/srclib/apr-util/test)).
One more suggestion here: I had some issues with Oracle Instant Client
10g connecting to the database and the whole thing was related to
server spec passed to the driver. It had to be like this:
//server.domain.name ort/db, where all values were as specified in
/etc/tnsnames.ora file. You may also want to check the environment
variables that your Apache instance sees - Oracle may need some set.
--
Bojan
*********************************************************************************** Information contained in this email message is confidential and may be privileged, and is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster@nds.com and destroy the original message. ***********************************************************************************
|
| | 1 answer | Add comment |
|
| Re: Performance under mod_proxy Octavian Rasnita 00:28:10 |
| | From: "Sander Temme" <sctemme@apache.org>
Try connecting with a client that shows you exactly the response> headers, like Curl or IE with IEWatch. I have tried, but I can see only the headers sent to the proxy, and those returned by the proxy. I cannot see the headers sent by the proxy to the back-end server, neither the headers sent by the back-end server to the proxy, and there are the errors. Here is what I can see:
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: ro,en-us;q=0.5
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
Host: www.brk.ro:85
Connection: Keep-Alive
Cookie: trafic_history=1168348280*1168362582*2
HTTP/1.1 400 Bad Request
Date: Mon, 22 Jan 2007 21:10:55 GMT
Server: Apache/2.2.3 (Win32) PHP/5.2.0 mod_perl/2.0.3 Perl/v5.8.8
Content-Length: 416
Content-Type: text/html; charset=iso-8859-1
Connection: close
Could it be a problem that I have both mod_perl and mod_php on the same Apache? In the past I remember that there were some issues when having these 2 modules. Now I don't know if it is the case anymore...
Have you considered the ProxyBadHeader directive? Yes and I have used it with "Ignore" and with "StartBody", but I received the same error in the browser:
400 Bad Request Bad Request Your browser sent a request that this server could not understand. Request header field is missing ':' separator. GET / HTTP/1.1
Apache/2.2.3 (Win32) PHP/5.2.0 mod_perl/2.0.3 Perl/v5.8.8 Server at localhost Port 86
And in the error log:
[Mon Jan 22 23:11:36 2007] [error] [client 127.0.0.1] request failed: error reading the headers
Here are the settings for the 2 virtual hosts, the first is for the proxy, and the second for the back-end:
Listen 127.0.0.1:85 Listen 127.0.0.1:86
NameVirtualHost 127.0.0.1:85
<VirtualHost 127.0.0.1:85> # www.brk.ro has the address 127.0.0.1 ServerName www.brk.ro:85 DocumentRoot e:/web/localhost/html
<Directory e:/web/localhost/html> Options +Indexes Allow from all </Directory>
ProxyRequests Off ProxyPass / http://localhost:86/ ProxyPassReverse / http://localhost:86/ ProxyPreserveHost On
ProxyBadHeader Ignore
# I have also tried: #SetEnv force-proxy-request-1.0 1 #SetEnv proxy-nokeepalive 1 #SetEnv proxy-sendcl 1 #SetEnv proxy-sendchunked 1
# sends content-length: # proxy-sendcl # Use chunked encoding: # proxy-sendchunked
</VirtualHost>
<VirtualHost 127.0.0.1:86> ServerName localhost:86 DocumentRoot e:/web/localhost/html
<Directory e:/web/localhost/html> Options +Indexes Allow from all </Directory> </VirtualHost>
Is there anyone using mod_proxy under Windows that can share the settings for the mod_proxy virtualhost?
Thank you.
Octavian Octavian
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | Add comment |
Monday, 22 January 2007
|
| Auth via LDAPS fails: Can't contact LDAP server Darren Spruell 23:46:38 |
| | When trying to authenticate clients via a remote LDAP directory (using mod_authz_ldap), we fail and the following is logged:
[Wed Jan 17 14:57:14 2007] [warn] [client a.b.c.d] [32492] auth_ldap authenticate: user xxxxxxxx authentication failed; URI /ldap/ [LDAP: ldap_simple_bind_s() failed][Can't contact LDAP server]
The authentication attempt succeeds when standard LDAP is attempted, but for security we require LDAPS. There are no connectivity issues between Apache and the remote LDAPS service as we can successfully test our operations using 'openssl s_client' and ldapsearch(1) without issue.
I've seen this error quite a bit on the web and looked into some suggested solutions but still no love. It strongly appears to be related to the certificate we are using in LDAPTrustedGlobalCert, which was retrieved from the LDAP server using an SSL connection to dump it out. The certificate is self signed, so I don't know if the SSL connection won't initialize properly because of a hostname/CN mismatch or what exactly. The date on the certificate is valid.
We're using: Apache/2.2.3 on Fedora Core 6. All components are installed via binary RPMs.
Apache LDAP config details:
LDAPTrustedGlobalCert CA_BASE64 /etc/pki/tls/certs/directory.pem <Location /ldap> AuthType Basic AuthName "LDAP Authentication" AuthBasicProvider ldap AuthLDAPURL ldaps://192.168.1.100:636/ou=internal,o=mydir?uid SSL AuthLDAPBindDN cn=admin,ou=applicationusers,o=mydir AuthLDAPBindPassword xxxxxxxx AuthzLDAPAuthoritative Off AuthGroupFile /etc/httpd/auth/htgroups require group LDAP </Location>
Startup notices:
[Wed Jan 17 16:01:39 2007] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0 [Wed Jan 17 16:01:39 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Jan 17 16:01:39 2007] [info] Init: Seeding PRNG with 256 bytes of entropy [Wed Jan 17 16:01:39 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Wed Jan 17 16:01:40 2007] [info] Init: Generating temporary DH parameters (512/1024 bits) [Wed Jan 17 16:01:40 2007] [info] Init: Initializing (virtual) servers for SSL [Wed Jan 17 16:01:40 2007] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.8b [Wed Jan 17 16:01:40 2007] [notice] Digest: generating secret for digest authentication ... [Wed Jan 17 16:01:40 2007] [notice] Digest: done [Wed Jan 17 16:01:40 2007] [debug] util_ldap.c(1929): LDAP merging Shared Cache conf: shm=0x8c59368 rmm=0x8c59398 for VHOST: mysite.mydomain.tld [Wed Jan 17 16:01:40 2007] [info] APR LDAP: Built with OpenLDAP LDAP SDK [Wed Jan 17 16:01:40 2007] [info] LDAP: SSL support available [Wed Jan 17 16:01:40 2007] [info] Init: Seeding PRNG with 256 bytes of entropy [Wed Jan 17 16:01:40 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Wed Jan 17 16:01:40 2007] [info] Init: Generating temporary DH parameters (512/1024 bits) [Wed Jan 17 16:01:40 2007] [info] Shared memory session cache initialised [Wed Jan 17 16:01:40 2007] [info] Init: Initializing (virtual) servers for SSL [Wed Jan 17 16:01:40 2007] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.8b [Wed Jan 17 16:01:40 2007] [notice] Apache/2.2.3 (Fedora) configured -- resuming normal operations [Wed Jan 17 16:01:40 2007] [info] Server built: Sep 11 2006 09:43:05
-- Darren Spruell phatbuckett@gmail.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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | 2 answer | Add comment |
|
| VIRTUAL HOSTS Bashiro 22:35:25 |
| |
Hello Folks,
I appologise for any stupid question. I only want to understand apache better. Accordding to http://httpd.apache.org/docs/2.0/vhosts/name-based.html ,Main host goes away: Does this mean whenever one configure any virtual host regardless of wheter it's https or http, the main server delcared in the httpd.conf has to be removed and place in the virtual host block ?
My second question is, i have three subdomains. domain1.myhost.com, domain2.myhost.com, and domain3.myhost.com. Only domain1.myhost.com is intended to serve as ssl and has been declared in the virtual host to use port 443.
Now Whenever other subdomains are accessed by https://, apache serve the files directory from domain1.myhost.com even though these subdomains have not been declared to be used as ssl. How do I configure apache to serve only the files that are intended for use with ss (in this case domain1.myhost.com).
Has this something to do with the main server not bein moved to the virtual host block ?
Thanks bashiro
Bashiro
_______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | 6 answers | Add comment |
|
| mod_authn_dbd and MySQL Nathan Kellogg 22:29:52 |
| | We are attempting to setup auth using mod_authn_dbd and MySql 5.x on WINXP.
Started right off with an invalid command 'DBDriver' on the conf line:
DBDriver mysql
Likewise error with DBDriver pgsql.
Also, I see that there has been a recent bug report about the MySQL driver not being included in mod_authn_dbd .
We expect to be needing to do auth for many hundreds of users. Is mod_authn_dbd dead? Assuming we can get mod_authn_dbd working with mysql, is this even the best way to handle auth for so may users?
Thanks for any help !
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | Add comment |
|
| Forbidden web pages Grant Lowe 20:52:22 |
| | Hi All.
I'm getting the error:
Forbidden
You don't have permission to access /mrtg on this server.
I have searched through Google and looked at various web pages and numerous USENET news groups. I have checked the permissions on the mrtg and apache directories and files in question. I have tried different browsers. I have also looked through the FAQ, specifically, under Configuration, question 15 (Why do I get "Forbidden/You don't have permission to access / on this server" message whenever I try to access my server). I have tried connecting from different computers. Still the same result. I'm running Apache 2.0.52 on a CentOS server. Any ideas?
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | 15 answers | Add comment |
|
| MP3 Access -- Log Analysis Greg Sims 20:15:12 |
| | We have been having some server HTTP alerts from our monitoring system. I did some research in the apache access_logs and see a behavior that I don't understand. I pulled some data this morning in hopes that you could help me understand what is happening here and how to potentially correct it.
http://raystedman.org/4204Ref.txt contains a log sequence that accesses one mp3 file by one user. The mp3 file is http://raystedman.org/mp3/4204.mp3 and is almost 7 MB large. Normally I will only see one record in the access_log for a transfer like this one. This transfer is really a mess. Why does it require this huge number of log records to transfer this one file?
The user is working on transferring a group of .mp3 files at the same time. This can be seen at http://raystedman.org/mp3Ref.txt. The server doesn't have much else going on which can be seen here http://raystedman.org/22Ref.txt. We can also see the side effects of all this in server-status http://raystedman.org/22Stat.txt.
Any ideas? Thanks! Greg
|
| | Add comment |
|
| mod_perl issue Israel Brewster 20:14:49 |
| | I have a perl script running in apache 1.3 which generates a .png image. If i run it normally (using system perl), it works. When I try running it under mod_perl however (increased performance, works under chrooting), the first line of the png file data (the image headers) gets cut off, making it so the system no longer recognizes it a an image, and all I get is a bunch of giberish on the screen. Is there something I can do to fix this? Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service INC. 5245 Airport Industrial Rd Fairbanks, AK 99709 -----------------------------------------------
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | 2 answer | Add comment |
|
| mod__ssl Abdel Ramli 19:32:33 |
| | Hi boys & girls,
I've been trying to set up my apache with ssl downloaded all the required stuff followed many procedures nicely written but keep getting an error message when make certificate while compiling apache (before the make install stuff) Any help ?
\\\___/// \\ _ _ // ( @ @ ) +-------------------oOOo-(_)-oOOo--------------------+
Abdel RAMLI abdel.ramli@mpsa.com Consultant AltaГЇr Technologies PSA Peugeot CitroГ«n | site de Bessoncourt UnitГ©: DINQ/DSIN/INSI/ETSO/PRD Tel : 03 84 46 92 79 (229279) +--------------------------- ---Oooo-------------------+ oooO ( ) ( ) )/ \( (_) (_) |
| | 14 answers | Add comment |
|
| security question Claudia Casas 19:25:37 |
| | Forgive me if this is not the most adequate place for this question, but it is somehow related to my web accounts in apache. My linux 7.2 server needs to be accessed through ftp from anyplace 24 hours a day by using wu-ftp. I already set up my ftp so that each user can login using their account password and see their homedirs as their root, with no further access (guest ftp). I have already taken off any anynomous or real ftp (access to everything in the system). I have restricted any telnet access to the accounts as well. But, I still would like to know if there is anything else I can do to protect my server. I know that ftp is a security treat. Is there any resource where I can read about how to bullet proof my server even when allowing ftp access?? My requirements are that ftp access is essential for my server. You know, I have clients who think that ftp is easiest program to use to modify or add their web content. I would really appreciate if you can recommend me a good book, http address, anything on how to secure my apache web server and accounts. I read the email about webdav by Saqib Ali. It seems really interesting to me, especially for my situation. But one question: how easy is for the users to learn??? Please take into account that my users are generally people who are learning how to handle technology ( I mean basics!!! From copy paste to web development).
|
| | 103 answer | Add comment |
|
| Make Errors Patrick Liechty 17:40:59 |
| | I am trying to build apache 2.0.47 on a Solaris Intel machine. I have the latest of autoconf and libtool installed. This is my configure setup:
./configure --prefix=/usr/local/apache2 --enable-modules=mod_include --enable-ssl --enable-http --enable-cgi --with-ssl=/opt/csw/bin
Configure finished with no errors. These are the errors when I get when I run make:
Making all in dso/unix /bin/bash /src/httpd/srclib/apr/libtool --silent --mode=link gcc -g -O2 -DHAVE_CONFIG_H -DSOLARI S2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I./include -I../include -version-info 9:4:9 -o lib apr-0.la -rpath /usr/local/apache2/lib strings/apr_cpystrn.lo strings/apr_fnmatch.lo strings/apr _snprintf.lo strings/apr_strings.lo strings/apr_strnatcmp.lo strings/apr_strtok.lo passwd/apr_ge tpass.lo tables/apr_hash.lo tables/apr_tables.lo file_io/unix/copy.lo file_io/unix/dir.lo file_i o/unix/fileacc.lo file_io/unix/filedup.lo file_io/unix/filepath.lo file_io/unix/filepath_util.lo file_io/unix/filestat.lo file_io/unix/flock.lo file_io/unix/fullrw.lo file_io/unix/mktemp.lo fi le_io/unix/open.lo file_io/unix/pipe.lo file_io/unix/readwrite.lo file_io/unix/seek.lo network_i o/unix/inet_ntop.lo network_io/unix/inet_pton.lo network_io/unix/sendrecv.lo network_io/unix/soc kaddr.lo network_io/unix/sockets.lo network_io/unix/sockopt.lo threadproc/unix/proc.lo threadpro c/unix/procsup.lo threadproc/unix/signals.lo threadproc/unix/thread.lo threadproc/unix/threadpri v.lo misc/unix/charset.lo misc/unix/env.lo misc/unix/errorcodes.lo misc/unix/getopt.lo misc/unix /otherchild.lo misc/unix/rand.lo misc/unix/start.lo misc/unix/version.lo locks/unix/global_mutex .lo locks/unix/proc_mutex.lo locks/unix/thread_cond.lo locks/unix/thread_mutex.lo locks/unix/thr ead_rwlock.lo time/unix/time.lo time/unix/timestr.lo mmap/unix/common.lo mmap/unix/mmap.lo shmem /unix/shm.lo user/unix/groupinfo.lo user/unix/userinfo.lo memory/unix/apr_pools.lo atomic/unix/a pr_atomic.lo poll/unix/poll.lo poll/unix/pollacc.lo support/unix/waitio.lo dso/unix/dso.lo ld: warning: option -o appears more than once, first setting taken ld: fatal: file libapr-0.so.0: open failed: No such file or directory ld: fatal: File processing errors. No output written to .libs/libapr-0.so.0.9.4 collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `libapr-0.la' Current working directory /src/httpd/srclib/apr *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /src/httpd/srclib/apr *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /src/httpd/srclib *** Error code 1 make: Fatal error: Command failed for target `all-recursive'
Patrick Liechty
Notice: The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this message, and then delete it from your computer. All e-mail sent to this address will be received by the Aurum Technology corporate e-mail system and is subject to archiving and review by someone other than the recipient.
|
| | 3 answer | Add comment |
|
| Uninstalling Apache2 Raj Gopal 15:36:08 |
| | Hi All,
I am fed up with Apache2 installation. I need to start from scratch.
Can any one help me to uninstall Apache2 completely?
-Venkat
|
| | 4 answer | Add comment |
|
| http authentication via a secure LDAP server Malka Cymbalista 15:08:51 |
| | I am running Apache 2.0.55 with mod_perl 2.0.1 and Perl 5.8.1 on a Sun Solaris machine. We would like to do http authentication via our ldap server which is installed with SSL. Are there perl modules that have to be installed or must I recompile apache and mod_perl with specific options? Can anyone point me in the right direction. Thanks for any information. Malka Cymbalista Webmaster, Weizmann Institute of Science malki.cymbalista@weizmann.ac.il 08-934-3036
|
| | 1 answer | Add comment |
|
| [users@httpd] environment variable Werner Schalk 12:03:23 |
| | Hello,
what does the environment variable HTTP_CACHE_CONTROL exactly mean? Where can I find additional information about the environment variables in general? I have already searched the rfc 2616 but I did not really find something about this.
Bye and thanks, Werner.
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | 20 answers | Add comment |
|
| Apache named virtual host Alessandro Ilardo 11:19:40 |
| | Hi there, I can't run any virtual host except for the default.
code: ------------------------------------------------------------------------
NameVirtualHost *:80 <VirtualHost *:80> ServerName linux.domain.com DocumentRoot /var/www/html </VirtualHost> <VirtualHost *:80> ServerName domain-lab.eu ProxyRequests off ProxyPass / http://saturn.domain.com/domain-lab/ ProxyPassReverse / http://saturn.domain.com/domain-lab/ </VirtualHost> <VirtualHost *:80> ServerName my-domain.net ProxyRequests off ProxyPass / http://saturn.domain.com/domain-lab/ ProxyPassReverse / http://saturn.domain.com/domain-lab/ </VirtualHost>
------------------------------------------------------------------------
Using the the configuration above I always get the first virtual host document root
Any help is apreciate. Thanks
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | 3 answer | Add comment |
|
| Setting up Apache & No-Ip Daniel L. McGrew 10:33:41 |
| | I'd like to run a Web Hosting service for myself... that is, I've loaded Apache2 and I can view my stuff via localhost... I'm using no-ip, and I can't view my site at http://danix.no-ip.info/ when my IIS computer is plugged in... I don't know why... when I try to check it out, the page that pops up is the one loaded in my Windows XP Pro computer (IIS)... I'd love to be able to use Mozilla to view my website, find a typo or something similar, and switch to composer or frontpage, make the changes, click save, and be done... but, I have never been able to edit pages through no-ip... and I'm not certain why... also, when I want to test the setup on the Debian-Sarge computer, I simply swap the last octet of the IP which effectively changes the computers that the router is forwarding the port to... and when I pick the Debian-Sarge computer it gives me 'The page cannot be found'... Bottom Line: 1. IIS (mcgrew.no-ip.info) - Port Forwarding - Works 2. Apache (danix.no-ip.info) - Port Forwarding - Delivers what is on the IIS machine until the LAN cord is unplugged from the IIS machine... then, It stops working I don't understand why... is the address I'm using wrong??? that is, should it be something else, like; http://danix.no-ip.info/Apache2-default/ (doesn't work)... or ... http://danix.no-ip.info/Apache2-default/index.html.en (doesn't work)???
Should all my files be loaded into the Apache2-default directory or the www directory??? I would really, really like to be able to log into my Apache2 server and upload/download/edit pages... I just don't know how to get that to work... I've downloaded no-ip and installed it... I'm not certain how to test it to see if it's working... I will appreciate any help that anyone can render... Most sincerely,
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | 1 answer | Add comment |
|
| RE: error with Find comand - OT Boyle Owen 10:18:03 |
| | -----Original Message-----> From: Kalasa, Anil [mailto:AnilKalasa@s-h-g.co.uk] > Sent: Sunday, January 21, 2007 5:53 PM> To: users@httpd.apache.org> Subject: [users@httpd] error with Find comand> Hi,> Hi have an Linux SUSE 10.x installed in my system on AMD 64, > I am facing problem with find command,> When I enter find / -name test.sh -print or only find from root> command it throws an error as This has nothing to do with apache - try a SUSE list...
# find / -name test.sh -print> find: /etc: No such file or directory> find: /proc: No such file or directory> find: /sys: No such file or directory> find: /dev: No such file or directory> find: /var: No such file or directory> find: /usr: No such file or directory> find: /opt: No such file or directory> find: /bin: No such file or directory> find: /boot: No such file or directory> find: /home: No such file or directory> find: /lib: No such file or directory> find: /lib64: No such file or directory> find: /media: No such file or directory> find: /mnt: No such file or directory> find: /root: No such file or directory> find: /sbin: No such file or directory> find: /srv: No such file or directory> find: /tmp: No such file or directory> But the same works when I specify the full path as > Find /root/ (or /usr/) -name test.sh -print> Any help would be appreciated on this.> Thanks and regards> Anil > *********************** Confidentiality Notice & Disclaimer > ***************** > This message, together with any attachments, is for the > confidential and exclusive use of the intended addresses(s).> If you receive it in error, please delete the message and its > attachments from your system immediately and notify us by > return e-mail. > Do not disclose, copy, circulate or use any information > contained in this e-mail. > 1) The content of this e-mail is to be read subject to our > terms of business, as applicable. > 2) E-mail may be intercepted or affected by viruses and we > accept no responsibility for any interception or liability > for any form of viruses introduced with this e-mail. > 3) The sender shall remain solely accountable for any > statements, representations or opinions that are clearly his > or her own and not made in the course of employment. > 4) For risk, protection and security purposes, we may monitor > e-mails and take appropriate action. > **************************************************************> ****************> TUI Northern Europe Limited, Registered in England and Wales > (Number 3490138) > TUI UK Limited, Registered in England and Wales (Number 2830117) > VAT Number: 233 3687 62 > Thomsonfly Limited, Registered in England and Wales (Number 444359) > VAT Number: 490 2120 79 > Registered Office of TUI NE, TUI UK and Thomsonfly: > Wigmore House, Wigmore Place, Wigmore Lane, Luton, > Bedfordshire, LU2 9TN > E-mail: Postmaster@Thomson.co.uk > ------------------- --------------------------------------------------> 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: users-unsubscribe@httpd.apache.org> " from the digest: users-digest-unsubscribe@httpd.apache.org> For additional commands, e-mail: users-help@httpd.apache.org> This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | Add comment |
|
| Peculiar DNS/Apache interaction Rich Morin 07:57:43 |
| | I'm seeing a peculiar DNS/Apache interaction. I hope someone on the list can help.
Background
I'm running my LAN behind a router (Linksys RV042) which provides NAT and port forwarding. Port 80 is forwarded to a Mac Mini (Mac OS X 10.4.8), running Apache 1.3.33.
I use named (BIND 9.2.2) to provide split DNS. Here are some details, in case they matter:
From the LAN, dig says:
cfcl.com. 259200 IN A 192.168.1.212 fido.cfcl.com. 259200 IN A 192.168.1.205 tchm.cfcl.com. 259200 IN A 192.168.1.212
From the WAN, dig says:
cfcl.com. 259200 IN A 24.221.172.174 fido.cfcl.com. (no answer) tchm.cfcl.com. 259200 IN A 24.221.172.174
My httpd.conf file (on cfcl.com) contains:
<VirtualHost *:80> ServerName tchm.cfcl.com ServerAdmin rdm@cfcl.com # ErrorLog /dev/null CustomLog /dev/null common ProxyRequests Off ProxyPass / http://fido.cfcl.com:3002/ ProxyPassReverse / http://fido.cfcl.com:3002/ </VirtualHost>
From various machines on the LAN, when I try pages such as
http://tchm.cfcl.com/main/about http://tchm.cfcl.com
I see the expected pages (generated by Ruby on Rails).
Problem
When I try to access tchm.cfcl.com from an external box, however, I get assorted errors. For example:
This gives me cfcl.com's home page, which is not what I was hoping for. Digging further, I get errors such as this:
% telnet tchm.cfcl.com 80> Trying 24.221.172.174...> Connected to tchm.cfcl.com.> Escape character is '^]'.> GET /main/about> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">> <HTML><HEAD>> <TITLE>404 Not Found</TITLE>> </HEAD><BODY>> <H1>Not Found</H1>> The requested URL /main/about was not found on this server.<P>> <HR>> <ADDRESS>Apache/1.3 .33 Server at cfcl.com Port 80</ADDRESS>> </BODY></HTML>> Connection closed by foreign host. /var/log/httpd/error_log on cfcl.com confirms that its copy of Apache was the one generating the error page:
[...] [error] [client ...] File does not exist: /Library/WebServer/web/cfcl/main/about
One notion I've been considering is that Apache's Proxying is not actually sending requests to the other machine, getting the replies, and then forwarding them to the browser. If, instead, it is issuing some sort of redirect, I could see why a machine outside wouldn't be successful in following it. If this is the case, is there a way to cause Apache to do a real proxy service?
However, turning on port forwarding of port 3002/TCP to fido didn't change the responses seen by the remote system. And, although the remote system was able to telnet into something that acted like an HTTP server on port 3002, when I tried a "GET /" or a "GET /main/about", I had no luck:
% telnet cfcl.com 3002> Trying 24.221.172.174...> Connected to cfcl.com.> Escape character is '^]'.> GET /main/about> Connection closed by foreign host.
So, I'm confused. Could someone tell me what is going on and (more critically) how I can make things work from the WAN in the same way they're working now on the LAN?
-r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841
Technical editing and writing, programming, and web development
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | Add comment |
|
| Quest. re. Apache and client-authenticated SSL Guest 00:35:04 |
| | Hi,
I was wondering if, when configuring Apache for client-authenticated SSL (i.e., using client certs), there is a way to configure Apache to force a re-authentication of each HTTPS *request*? Note, when I say "each HTTPS request" here, I mean each individual HTTPS request, not each SSL connection.
Some background: We have an Apache webserver that is configured for client-authenticated SSL ("SSLVerifyClient optional"). The Apache webserver is mainly a proxy for a WebLogic app server.
In our case, the client workstations have smart card readers, and client certs are stored on the smart cards.
We are encountering a problem where, when users access the Apache server, they are getting re-prompted to enter their smart card PIN multiple (many) times, even just to access the initial webpage.
I'm aware that there are some settings in the smart card "middleware" that would cache either the users' PIN or their certificates. These settings are currently set to not cache, and our management doesn't want to change these settings, so I've been looking into what things could be causing this behavior, and someone on another newgroup mentioned that it may be possible that some webservers have a setting that would force a re-"SSL"-authentication for each HTTPS request, but I'm not aware of a setting like this.
So, I'm wondering if there is some way to configure Apache+SSL so that this (re-authenticating) would occur with each individual HTTPS request?
Thanks in advance, Jim
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | Add comment |
|
| proxy Hytham Shehab 00:15:52 |
| | hi guys, is it possible to configure Apache 1.3.xx to work properly as a proxy, if, then how?
thx
-- Hytham Shehab
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | 7 answers | Add comment |
Sunday, 21 January 2007
|
| error with Find comand Anil Kalasa 20:50:29 |
| | Hi,
Hi have an Linux SUSE 10.x installed in my system on AMD 64,
I am facing problem with find command,
When I enter find / -name test.sh -print or only find from root command it throws an error as
# find / -name test.sh -print find: /etc: No such file or directory find: /proc: No such file or directory find: /sys: No such file or directory find: /dev: No such file or directory find: /var: No such file or directory find: /usr: No such file or directory find: /opt: No such file or directory find: /bin: No such file or directory find: /boot: No such file or directory find: /home: No such file or directory find: /lib: No such file or directory find: /lib64: No such file or directory find: /media: No such file or directory find: /mnt: No such file or directory find: /root: No such file or directory find: /sbin: No such file or directory find: /srv: No such file or directory find: /tmp: No such file or directory
But the same works when I specify the full path as
Find /root/ (or /usr/) -name test.sh -print
Any help would be appreciated on this.
Thanks and regards Anil
*********************** Confidentiality Notice & Disclaimer ***************** This message, together with any attachments, is for the confidential and exclusive use of the intended addresses(s). If you receive it in error, please delete the message and its attachments from your system immediately and notify us by return e-mail. Do not disclose, copy, circulate or use any information contained in this e-mail. 1) The content of this e-mail is to be read subject to our terms of business, as applicable. 2) E-mail may be intercepted or affected by viruses and we accept no responsibility for any interception or liability for any form of viruses introduced with this e-mail. 3) The sender shall remain solely accountable for any statements, representations or opinions that are clearly his or her own and not made in the course of employment. 4) For risk, protection and security purposes, we may monitor e-mails and take appropriate action. ******************************************************************************
TUI Northern Europe Limited, Registered in England and Wales (Number 3490138) TUI UK Limited, Registered in England and Wales (Number 2830117) VAT Number: 233 3687 62 Thomsonfly Limited, Registered in England and Wales (Number 444359) VAT Number: 490 2120 79
Registered Office of TUI NE, TUI UK and Thomsonfly: Wigmore House, Wigmore Place, Wigmore Lane, Luton, Bedfordshire, LU2 9TN E-mail: Postmaster@Thomson.co.uk
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | 4 answer | Add comment |
|
| os that uses default apache file structure? Peter Michaux 20:13:52 |
| | Hi
Is there an operating system that uses the apache default file structure? I'm using debian and it does not.
Thanks, Peter -- Fork JavaScript: http://forkjavascript.org
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | 1 answer | Add comment |
|
| Documentation for TypesConfig Peter Michaux 12:59:25 |
| | Hi,
The documentation for TypesConfig directive says that the filename is relative to ServerRoot.
<URL: http://httpd.apache.org/docs/2.2/mod/mod_mime.html#typesconfig>
I am using an absolute path for the filename parameter and it seems to work fine. Should the docs be changed to include this possibility?
Thanks, Peter -- Fork JavaScript: http://forkjavascript.org
--------------------------------------------------------------------- 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: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
|
| | 1 answer | Add comment |
|
| Problem with Mod_Deflate & Virtual Hosts Graeme Walker 00:37:16 |
| | Hi,
I am trying to get mod_deflate working with my virtual hosts, however it does not appear to be doing anything. I am using Apache 2.2.4.
My Config is as follows:
NameVirtualHost *:80 Listen 80
<VirtualHost *:80> ServerName www.domain.com ServerSignature On DocumentRoot "D:/Website_Dev/cImages/cimage" AddOutputFilterByType DEFLATE text/html text/plain text/xml image/jpg image/jpeg image/gif image/png application/xml application/xhtml+xml DeflateFilterNote Input instream DeflateFilterNote Output outstream DeflateFilterNote Ratio ratio DeflateCompressionLevel 9 LogFormat '%t %r %{outstream}n/%{instream}n (%{ratio}n%%)' deflate CustomLog logs/deflate_main.log deflate LogLevel Debug </VirtualHost>
Within my deflate_main.log is showing no compression.
The error log from apache is showing:
[Wed Jan 17 21:48:28 2007] [debug] mod_headers.c(663): headers: ap_headers_output_filter() [Wed Jan 17 21:48:28 2007] [debug] mod_headers.c(663): headers: ap_headers_output_filter() [Wed Jan 17 21:48:28 2007] [debug] mod_headers.c(663): headers: ap_headers_output_filter()
This looks like it is appending the headers, but nothing is happening. I am using FireFox 2.0.
Any help would be much appreciated.
Cheers Graeme
|
| | 10 answers | Add comment |
|
| CGI Windows XP Can Le 00:37:16 |
| | Hi, Please help me debug or post a sample link for CGI problem. Affter I re-installed Windows and Apache2.2, I could open localhost home page from htdocs/index.html but not CGI from index.cgi. I viewed old apache1.3 plus new apache2.2 helps: http://httpd.apache.org/docs/1.3/misc/FAQ.html#aixccbug I am using Windows XP home, apache2.2 to write Perl cgi. I am having problem of running CGI with this error: [Thu Jan 18 21:05:59 2007] [error] [client 127.0.0.1] client denied by server configuration: C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin I had these among other things in httpd.conf: LoadModule cern_meta_module lib/apache2/mod_cern_meta.so LoadModule cgi_module lib/apache2/mod_cgi.so ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/" <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin"> AllowOverride None AddHandler cgi-script .cgi .html Options Includes +ExecCGI MultiViews LogLevel debug DirectoryIndex index.html index.cgi Myfile.cgi properties from Windows: unchecked Read only, apache in Registry: no group, but after I reboosted Windows XP, the Read only checkmark was checked again. Adding "debug" won't give any more hints. Do I have to remove 2 LoadModules for default.so ? I did it then restarted Apache but the error remained. Any help or guide is very thankful Can Le --------------------------------- Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out. |
| | 4 answer | Add comment |
|