mehrere Sprachen .conf Prob?
Hi liebe Liste, ich vermute mal, dass es sich bei meinem Problem um eine httpd.conf Einstellungssache geht. Zu meinem Problem: In einer HTML Seite befinden sich drei Abschnitte mit unterschiedlichen Sprachen. 1. Abschnitt: kyrillisch 2. Abschnitt: polnisch 3. Abschnitt: deutsch Das Charset wurde wegen den unterschiedlichen Sprachen auf Unicode gesetz. Die Sprachtexte wurden aus OpenOffice per Copy/Paste in den Quellcode eines HTML Editors gesetzt. Texte werden in der Quellcodeansicht des Editors korrekt angezeigt. Die Datei wird dann als html gespeichert. Lasse ich mir die Datei auf meiner Liveumgebung ausgeben, so passt auch alles. Auf meiner lokalen Testmaschine hingegen stimmt weder die Ausgabe noch der Quelltext. Es werden andere Zeichen dargestellt. Und komischerweise steht das Caracter-Encoding nicht auf utf-8 sonder auf western(iso-8859-1) Woran könnte es liegen? Ist meine Vermutung richtig? Wie kann ich den Fehler beheben? Danke im Voraus Grüsse Alex Quelltext: html head titleUntitled Document/title META HTTP-EQUIV=Content-Type CONTENT=text/html; CHARSET=UTF-8 /head body polnisch hier br / br / kyrillisch hier br / br / deutsch hier /body /html -- Apache HTTP Server Mailing List users-de unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
RE: [EMAIL PROTECTED] [SPAM] RE: [EMAIL PROTECTED] mod_auth_ldap
Hi, I'm glad for you. On a later stadium I wan't to try to work with websites over SSL as well but that's for later ;-). I was already putting the line LoadModule ldap_auth_module modules/mod_auth_ldap.so in my httpd.conf file (it was not already put in with comments). But when I looked at your link http://httpd.apache.org/docs/2.0/platform/windows.html#cust (I have version 2.0.54) I've read that you can find additional error logs in your windows event viewer. This makes it a lot more interesting. When I try to load the module .so (which was in my folder modules by installation) I recieve this error messages: 1) Cant locate API module structure ldap_auth_module in file C://Program Files/../modules/mod_auth_ldap.so 2) Syntax error on line 145 (which is the line where the LoadModule staat Next i did the test with a dll file ldap_auth_module which I found on the internet http://www.muquit.com/. I had put this file also in the folder modules here I get only this message: 1) service terminated with server specific error 1 And on this point I think I'm getting very confused cause error 1 means: port 80 already in use Can you get anything out of this? Greetings Pamela -Oorspronkelijk bericht- Van: Andrew Musselman [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 23 augustus 2005 17:40 Aan: users@httpd.apache.org; Pamela Kalle Onderwerp: [EMAIL PROTECTED] [SPAM] RE: [EMAIL PROTECTED] mod_auth_ldap Hi Pamela, I finally got things working. My co-worker helped me find the problem: in apache log we found these messages while restarting apache: [Mon Aug 22 12:31:43 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK [Mon Aug 22 12:31:43 2005] [crit] LDAP: Invalid LDAPTrustedCAType directive - BASE64_FILE type required [Mon Aug 22 12:31:43 2005] [warn] LDAP: SSL initialization failed [Mon Aug 22 12:31:43 2005] [notice] LDAP: SSL support unavailable I was using the wrong type of CA file, and when I put in the right one everything worked. The FreeBSD stuff probably won't help you get things going on Windows. When you say: So I've tried to install the option in the config file like this: ldap_auth_module modules/mod_auth_ldap.so And I've tried it like this: ldap_auth_module D:/apache_files/mod_auth_ldap.so Have you opened your httpd.conf file and had a look? Here's a link: http://httpd.apache.org/docs/1.3/windows.html#use If you find a bunch of lines that start with LoadModule, that's where you might want to try putting in the line (or uncommenting it if it's there): LoadModule ldap_auth_module libexec/apache2/mod_auth_ldap.so Then don't forget to restart apache.. Have fun! Andrew Andrew Musselman [EMAIL PROTECTED] [EMAIL PROTECTED] 8/23/2005 1:45 AM Hi Andrew, Is it possible that your problem has something to do with the port number? Normally when you use a not-SSL connection you use port 389 and for a SSL connection you use 636. I don't know very good what you mean with: I got mine working on FreeBSD by using the ports tree, after renaming and removing httpd.conf, by going into the apache2 directory and doing: make clean make WITH_PROXY_MODULES=yes WITH_LDAP_MODULES=yes WITH_SSL_MODULES=yes I've tried to do this via de cmd on the directory Apache2 and on the directory Apache/BIN but it didn't work (make is not a recognised command)but maybe this is because I'm working with Windows... Thank you for the answer Greetings Pamela -Oorspronkelijk bericht- Van: Andrew Musselman [mailto:[EMAIL PROTECTED] Verzonden: maandag 22 augustus 2005 17:54 Aan: users@httpd.apache.org Onderwerp: Re: [EMAIL PROTECTED] mod_auth_ldap Hi Pamela, On this page: http://httpd.apache.org/docs/1.3/windows.html The directions say you can load a module by adding a line to your httpd.conf: LoadModule ldap_auth_module libexec/apache2/mod_auth_ldap.so I got mine working on FreeBSD by using the ports tree, after renaming and removing httpd.conf, by going into the apache2 directory and doing: make clean make WITH_PROXY_MODULES=yes WITH_LDAP_MODULES=yes WITH_SSL_MODULES=yes Then checking which lines the new install put in and copying them into my old httpd.conf. That may not help your situation, I don't know. In my case, I'm getting these two errors in my log file when I try to access a protected directory. Here are the lines in the .htaccess file protecting the directory: AuthLDAPEnabled on AuthType Basic AuthLDAPURL ldap://my.ldap.server:636/o=CWU?uid require valid-user Here is the error I get using ldap:// [LDAP: ldap_simple_bind_s() failed][Can't contact LDAP server] Here is the error I get using ldaps:// [LDAP: ssl connections not supported][Can't contact LDAP server] Has anyone encountered these errors and know how to solve them? Thank you, Andrew Andrew Musselman [EMAIL PROTECTED] [EMAIL PROTECTED] 8/22/2005 12:38 AM Hi I'm also trying to use the mod_auth_ldap, but I'm having troubles as well. Maybe my experience can help you as well, and maybe
[EMAIL PROTECTED] Re: can't start multiple apache instances
What is preventing the second instance from starting? Any help would be greatly appreciated. What does the errorlog say? Joost - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Re: Caching with Squid
[EMAIL PROTECTED] said: Hi, I am trying to set up Squid as a web cache for a number of Apache Web servers. Each Apache server stands in front of an application server (Jboss). Based on the URL pattern Apache need to send request to Squid for caching. If Squid cannot find the resource in the cache it should contact back Apache server that will contact the J2EE application hosted by JBoss to load the resource from a database. Squid could also contact JBoss/Tomcat on port 8080 to load the missing resources but I would prefer if everything goes through Apache. I am inexperienced with configuring Squid and have problems at the moment to make it work with many Apache servers. I am open to suggestions. Try the Squid mailinglist, as this is a Squid question and not an Apache question. Joost - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Reverse proxy
isha b wrote: My exchnage server works fine while querying thro internet , but when I query webserver as , https://reverseproxy.com/webserver it translate as http://reverseproxy.com/webservr/init.asp?. with result page could not found That'll be because your exchnage server (whatever that is) is issuing an http redirect. To deal with it, see http://www.apacheweek.com/features/reverseproxies -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Which file gets served when the URL does not include a mime type extension.
Hello, If I have a directory test with two files in file.xml and file.html can anyone tell me which should get served if I address it from a browser using http://localhost/test/file; i.e. without specifying the suffix. also is this behaviour configurable? thanks, Dave. -- Dr. David Holden. Please avoid sending me Word or PowerPoint attachments, thanks. See: http://www.gnu.org/philosophy/no-word-attachments.html Public GPG key available on request. - - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Reverse proxy
Nick Kew wrote: isha b wrote: My exchnage server works fine while querying thro internet , but when I query webserver as , https://reverseproxy.com/webserver it translate as http://reverseproxy.com/webservr/init.asp?. with result page could not found That'll be because your exchnage server (whatever that is) is issuing an http redirect. To deal with it, see http://www.apacheweek.com/features/reverseproxies You could always try adding this to your Apache config: RequestHeader add Front-End-Https On I've never tried it but the equivalent works for Squid. This should tell OWA to generate an https URL. HTH, Neil. -- Neil Hillard[EMAIL PROTECTED] Westland Helicopters Ltd. http://www.whl.co.uk/ Disclaimer: This message does not necessarily reflect the views of Westland Helicopters Ltd. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Which file gets served when the URL does not include a mime type extension.
If I have a directory test with two files in file.xml and file.html can anyone tell me which should get served if I address it from a browser using http://localhost/test/file; i.e. without specifying the suffix. also is this behaviour configurable? thanks, Dave. Maybe you're looking for DirectoryIndex. Location /test DirectoryIndex file.xml file.html /Location With that config, Apache will look for file.xml first, and then file.html if the first is not found. As far as serving up file.xml when only file is requested, you could do something with mod_rewrite. RewriteRule ^/test/file$ /test/file.xml - will use file.xml for http://localhost/test/file; .. or something like that. Check the syntax - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Re: mod_proxy with regexps
On Tue, Aug 23, 2005 at 10:11:20AM -0700, Andrew Musselman wrote: Hi, I am trying to set up a proxy to allow access to other devices on the network. These lines work great: ProxyPass /xyz.mn.op.st/ http://xyz.mn.op.st/ ProxyPassReverse /xyz.mn.op.st/ http://xyz.mn.op.st/ I can access device xyz.mn.op.st by going to http://myhost.edu/xyz.mn.op.st/, but I have about a hundred different addresses I would like to access through the proxy. Can some regexp guru point me in the right direction? Or is there some other solution? mod_rewrite. (If the only tool you have is a hammer then everything looks like a nail :-) To start with try something like: RewriteEngine on RewriteRule /([^/]+)(.*)$ http://$1$2 [P] This will do nothing *except* proxy /xxx/ to http://xxx/ for any xxx, and it's horribly insecure since it will happily proxy to anywhere. So you need to tighten this up; if you can match all the domains by a regexp or a few, e.g. if they all end in .foo.com, then do that: RewriteRule /([^/]+\.foo\.com)(/?.*)$ http://$1$2 [P] Otherwise, you may need to use a RewriteMap lookup in a .txt or .db database to allow the requests. Regards, Brian. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Which file gets served when the URL does not include a mime type extension.
Hi Tony, thanks for the reply, the reason I ask is because I'm getting a default behaviour that I cannot find documentation of. i.e. if I sent up a server with these two files in a directory it is always serving the XML file over the HTML file. e.g http://localhost/test/file will return file.xml not file.html I don't think DirectoryIndex is appropriate here because the file name does not matter, e.g. it could be fred.xml/fred.html or bill.xml/bill.html it still chooses the .xml file over the html file if both are there.. Dave. On 8/24/05, Tony VanScoy [EMAIL PROTECTED] wrote: If I have a directory test with two files in file.xml and file.html can anyone tell me which should get served if I address it from a browser using http://localhost/test/file; i.e. without specifying the suffix. also is this behaviour configurable? thanks, Dave. Maybe you're looking for DirectoryIndex. Location /test DirectoryIndex file.xml file.html /Location With that config, Apache will look for file.xml first, and then file.html if the first is not found. As far as serving up file.xml when only file is requested, you could do something with mod_rewrite. RewriteRule ^/test/file$ /test/file.xml - will use file.xml for http://localhost/test/file; .. or something like that. Check the syntax - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Dr. David Holden. Please avoid sending me Word or PowerPoint attachments, thanks. See: http://www.gnu.org/philosophy/no-word-attachments.html Public GPG key available on request. - - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Which file gets served when the URL does not include a mime type extension.
thanks for the reply, the reason I ask is because I'm getting a default behaviour that I cannot find documentation of. i.e. if I sent up a server with these two files in a directory it is always serving the XML file over the HTML file. e.g http://localhost/test/file will return file.xml not file.html I don't think DirectoryIndex is appropriate here because the file name does not matter, e.g. it could be fred.xml/fred.html or bill.xml/bill.html it still chooses the .xml file over the html file if both are there.. correct. DirectoryIndex is not approariate here. that only governs the behaviour when http://localhost/test is requested. what you need to read up on is Content Negotiation: http://www.google.co.uk/search?hl=enq=apache+content+negotiationbtnG=Google+Searchmeta= which is how the server decides which file to server based on what the browser has requested and your own rules. a simple way to define it is, i believe, to place a file called file.var in the same directory with contents something like this: URI: file URI: file.html Content-type: text/html; qs=1 i am by no means an expert but this should at least give you something to get started on. andy - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Reverse proxy
Thanks , Neil Here in apache we use set instead of add in Front-En-Https, RequestHeader set Front-End-Https On but that doesn't solved the problem. http://www.apacheweek.com/features/reverseproxies is having good info abd mod_proxy_html is almost near to solve this problem but again they clearly says it ias as equivalent as od ProxyPassReverse of apache. But I couldn't try adding mod_proxy_html module as this is third party commercial module. Still looking for the solution Thanks n Regards, Isha On 8/24/05, Neil A. Hillard [EMAIL PROTECTED] wrote: Nick Kew wrote: isha b wrote: My exchnage server works fine while querying thro internet , but when I query webserver as , https://reverseproxy.com/webserver it translate as http://reverseproxy.com/webservr/init.asp?. with result page could not found That'll be because your exchnage server (whatever that is) is issuing an http redirect. To deal with it, see http://www.apacheweek.com/features/reverseproxies You could always try adding this to your Apache config: RequestHeader add Front-End-Https On I've never tried it but the equivalent works for Squid. This should tell OWA to generate an https URL. HTH, Neil. -- Neil Hillard[EMAIL PROTECTED] Westland Helicopters Ltd. http://www.whl.co.uk/ Disclaimer: This message does not necessarily reflect the views of Westland Helicopters Ltd. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Reverse proxy
Isha, isha b wrote: Thanks , Neil Here in apache we use set instead of add in Front-En-Https, RequestHeader set Front-End-Https On but that doesn't solved the problem. Can you see this header being sent in the request to your backend web server. Is it Outlook Web Access that you're trying to accelerate? http://www.apacheweek.com/features/reverseproxies is having good info abd mod_proxy_html is almost near to solve this problem but again they clearly says it ias as equivalent as od ProxyPassReverse of apache. But I couldn't try adding mod_proxy_html module as this is third party commercial module. Still looking for the solution mod_proxy_html is open source, written by Nick Kew. We're running it here and it really does the job. Download the source, compile and install it and you should be laughing. HTH, Neil. -- Neil Hillard[EMAIL PROTECTED] Westland Helicopters Ltd. http://www.whl.co.uk/ Disclaimer: This message does not necessarily reflect the views of Westland Helicopters Ltd. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Authentication against Windows domain for Apache on Linux
Hello all, We have a Windows file server with some shared folders. We have a web server running Apache on Suse. We want to give access to the shared folders via the web server only to the valid Windows users. We can not use the normal authenication techniques commonly used in Apache like basic, authentication, dbm, or LDAP. I wanted to know if there is any way to authenticate users against a Windows domain on Apache running in Linux? I couln't find any useful information on Google. Can anyone point me the appropriate resources? TIA, Tom - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] What is the hierarchy/precedence of 2.0 directives? (Redirect problem)
BTW: I had a look at your site. Works great! After looking at the site, I maybe understood a little better what you are after... Could it be: Redirect /mmc /sct/mmc ProxyPass /sct/ http://SERVER.temple.edu/sct/ ProxyPassReverse /sct/ http://SERVER.temple.edu/sct/ is what you want?? -ascs -Original Message- From: S.A. Birl [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 7:12 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] What is the hierarchy/precedence of 2.0 directives? (Redirect problem) Hello All: Where can I find (or does anyone know) the order in which Apache preforms its directives? It may or may not solve the underlying problem below, but a recent discussion I had prompted the above question. The underlying problem I have 2 entries in the file proxies.conf # proxy directives for http://www.temple.edu/mmc RewriteRule ^/+mmc((/+.*)?$) http://SERVER.temple.edu/sct/mmc$1 [P] ProxyPassReverse /mmc/ http://SERVER.temple.edu/sct/mmc/ (not inside of a VirtualHost) When I enter http://www.temple.edu/mmc, the request is proxied to http://server.temple.edu/sct/mmc/ and the URI is re-written as http://www.temple.edu/sct/mmc/. This is what I expect and has always worked as expected. The problem is when I enter http://www.temple.edu/mmc/ (note the trailing slash) The request is still proxied to http://server.temple.edu/sct/mmc, but the URI stays as http://www.temple.edu/mmc/ and not as /sct/mmc/. My question about the order of directives stems from trying to add Redirect permanment /mmc http://www.temple.edu/sct/mmc/ to httpd.conf to compensate. I even tried anther RewriteRule, but that didnt work either. RewriteRule ^/+mmc/((/+.*)?$) http://SERVER.temple.edu/sct/mmc$1 [P] How can I fix the underlying problem? Thanks. Birl Please do not CC me responses to my own posts. I'll read the responses on the list. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Re: How to solve this descriptor problem on solaris 8 and apache 1.3.33
Harald, Have you upped the FD limit via modifying /etc/system with the correct parameters? What happens when you do a ulimit -a as root? What's the output? Matt -Original Message- From: Harald Falkenberg [mailto:[EMAIL PROTECTED] Sent: Sunday, August 21, 2005 4:38 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Re: How to solve this descriptor problem on solaris 8 and apache 1.3.33 Hallo, is there nobody on the list who can point me to the necessary steps to solve the problem? bye Harald On Thu, 18 Aug 2005, Harald Falkenberg wrote: Hallo, in the error log of the apache server (version 1.3.33) I noticed the following lines: [Wed Aug 17 12:48:49 2005] [warn] send body: filedescriptor (1220) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE The server is configured with 70 shared servers and ulimit is set to ulimit -n 2048 There seems to be a limit inside apache. How can I change it? Furthermore I would like to know why apache is requirering so many descriptors. We use inside apache mods for php and perl. Does this affect? regards Harald - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] What is the hierarchy/precedence of 2.0 directives? (Redirect problem)
Be careful when you use a mix of conflicting ProxyPass and RewriteRule .* foo [P]. ProxyPass takes precedence on the RewriteRule. From the little I understood of your problem, it can be solved with a couple of ProxyPass - no need for any RewriteRule. KISIYC - Keep It Simple If You Can ! -ascs -Original Message- From: S.A. Birl [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 7:00 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] What is the hierarchy/precedence of 2.0 directives? (Redirect problem) H that's my problem: I have the 2 ProxyPass for sct, as well as 2 ProxyPass for mmc. I commented out the 2 for mmc and added the Redirect and it works. (Thanks for the kudos about the website, but Im just the admin. I dont design). - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Missing supporting programs for HTTP server 2.0.54 on Windows
Hello, I am very new to Apache HTTP server. I have installed the latest release 2.0.54 on my Windows XP Professional desktop to learn to use it for an upcoming web/database application project. According to the installtion instructions on Windows XP, I have service pack 2 installed and I have disabled QoS Packet Scheduler. I have installed it by selecting to run installation directly from a given mirror site and chose for full installtion on the default directory by selecting custom installation. I have no problem with installation, running the server as a service and connecting to it, BUT I don't find the following supporting programs installed, as listed at http://httpd.apache.org/docs/2.0/programs/. The rest of the programs are installed under ServerRootDirectory/bin. apachectl apxs configure dbmmanage suexec httpd log_server_status split-logfile Thank you, Prakash Sajja 936-437-8438 Programmer-V Administrative Support Programs Department Office of the Inspector General Texas Department of Criminal Justice Huntsville, Texas - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Missing supporting programs for HTTP server 2.0.54 on Windows
[EMAIL PROTECTED] wrote: I have no problem with installation, running the server as a service and connecting to it, BUT I don't find the following supporting programs installed, as listed at http://httpd.apache.org/docs/2.0/programs/. The rest of the programs are installed under ServerRootDirectory/bin. apachectl you don't need, since apache.exe -k start or using 'net start apache2' allows you to control the server. On unix, you may be unable to invoke the httpd binary without the apachectl script to help invoke the bin/envvars script which sets up some dynamic link paths. apxs There is a third-party perl solution to this maintained by Randy Kobes which you can download from http://www.apache.org/dist/perl/win32-bin/apx_win32.tar.gz configure ./configure is a tool for Unix only, simply edit your conf/httpd.conf file on windows (almost every module is pre-built for you in modules/) dbmmanage use htdbm.exe, it's much more modern. (I'm not certain if you can find dbmmanage.pl in bin/, it was effectively the same thing.) suexec doesn't work on Win32. httpd is Apache.exe (and will be called httpd.exe in the apache 2.2 release and apache 2.1 betas) log_server_status unfamiliar - I'll research next week split-logfile unfamiliar - I'll research next week - I'm guessing it's a wrapper around rotatelogs binary? - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Apache/Tomcat CSS Hostname Rewrite Issue
We are using Apache with Tomcat and we are experiencing a difficulty with URL's within the served HTML page sometimes being correctly rewritten and sometimes not throughout the file. Our users access our webserver through another server that just fwd's the requests on. In most instances i am seeing the Servlet output being rewritten accordingly but when it comes to the stylesheet link it doesn't it retains the name of the local virtual host that no external user has access to. Example - where app103.nortelnetworks.com is the external URL and enmc-remedy is the internal vh name:- script language="_javascript_"var contextPath = "http://app103.nortelnetworks.com/arsys";var sharedURI = "http://app103.nortelnetworks.com/arsys/apps/shared";var APP_URL = "http://app103.nortelnetworks.com/arsys/apps/en/lorien/arforms";var docCharset = "windows-1252";var cacheDisable = "0";var msgDlgWidth = "400";var msgDlgHeight = "200";var confirmDlgWidth = "400";var confirmDlgHeight = "180";/script FORM NAME='FormFields' link rel=stylesheet type='text/css' href='' script language="_javascript_"var arPaneWidth=1198,arPaneHeight=736;/scriptscript language="_javascript_" src="">'>http://app103.nortelnetworks.com/arsys/apps/shared/_javascript_/ar_p_ie55.js"/scriptscript language="_javascript_" src="">'>http://app103.nortelnetworks.com/arsys/apps/shared/_javascript_/ar_share.js"/scriptscript language="_javascript_" src="">'>http://app103.nortelnetworks.com/arsys/apps/shared/_javascript_/writejs.js"/scriptscript language="_javascript_" src="">'>http://app103.nortelnetworks.com/arsys/apps/shared/_javascript_/ar_error_label.js"/scriptscript language="_javascript_" src="">'>http://app103.nortelnetworks.com/arsys/apps/shared/_javascript_/ar_localized_messages_en.js"/scriptscript language="_javascript_" src="">'>http://app103.nortelnetworks.com/arsys/apps/shared/_javascript_/ar_client_data.js"/scriptscript language="_javascript_" src="">'>http://app103.nortelnetworks.com/arsys/apps/shared/_javascript_/ar_fields.js"/scriptscript language="_javascript_" src="">'>http://app103.nortelnetworks.com/arsys/apps/shared/_javascript_/ar_workflow.js"/script My problem is that im not sure whether it is the Java Servlet "re-writing" the URL's or Apache. We're not using mod-proxy or mod-proxy-html to rewrite content. Its not the box were routing through as it happens when i avoid the box and go direct - the stylesheet link appears to avoid re-writing unless i use the IP address then it is rewritten (OR not depending on how you look at it ) as it just uses the IP. Apache The loglevel on the error log doesnt help since that shows just errors The customlog level shows just requests and not responses from Apache Tomcat I can see the URL requests being mapped to the servlets ok - no mention of hosts - which leads me to believe it is an Apache thing Where do i look next for the Apache intelligence behind implicit hostname rewriting - must be a log option ive missed. My feeling is that link rel=stylesheet type='text/css' href='' isnt being rewritten by whatever intelligence it is because the link is single and not double quoted. Simon Simon TaylorService Tools Solutions (STS) EngineerNortel Email [EMAIL PROTECTED]Office +44.1628.617291 (ESN 6 861 7291)Mobile +44.7740.533743 (ESN 748 3743)
RE: [EMAIL PROTECTED] Re: How to solve this descriptor problem on solaris 8 and apache 1.3.33
Hallo Matthew, in the /etc/system I set: set rlim_fd_max = 8192 * set soft limit on file descriptors set rlim_fd_cur = 4096 ulimit -a as root shows: time(seconds) unlimited file(blocks) unlimited data(kbytes) unlimited stack(kbytes) 8192 coredump(blocks) unlimited nofiles(descriptors) 1024 memory(kbytes) unlimited ulimit -a as web server process owner shows: time(seconds) 600 file(blocks) unlimited data(kbytes) 100 stack(kbytes) 8192 coredump(blocks) 0 nofiles(descriptors) 2268 memory(kbytes) 100 - Any comments? I beleave that the fd_setsize compiler parameter should solve the problem. regards Harald On Wed, 24 Aug 2005, Matthew McHugh wrote: Harald, Have you upped the FD limit via modifying /etc/system with the correct parameters? What happens when you do a ulimit -a as root? What's the output? Matt -Original Message- From: Harald Falkenberg [mailto:[EMAIL PROTECTED] Sent: Sunday, August 21, 2005 4:38 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Re: How to solve this descriptor problem on solaris 8 and apache 1.3.33 Hallo, is there nobody on the list who can point me to the necessary steps to solve the problem? bye Harald On Thu, 18 Aug 2005, Harald Falkenberg wrote: Hallo, in the error log of the apache server (version 1.3.33) I noticed the following lines: [Wed Aug 17 12:48:49 2005] [warn] send body: filedescriptor (1220) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE The server is configured with 70 shared servers and ulimit is set to ulimit -n 2048 There seems to be a limit inside apache. How can I change it? Furthermore I would like to know why apache is requirering so many descriptors. We use inside apache mods for php and perl. Does this affect? regards Harald - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Missing supporting programs for HTTP server 2.0.54 on Windows
* William A. Rowe, Jr. wrote: log_server_status unfamiliar - I'll research next week split-logfile unfamiliar - I'll research next week - I'm guessing it's a wrapper around rotatelogs binary? Heh ;) http://httpd.apache.org/docs/2.0/programs/other.html nd -- [...] weiß jemand zufällig, was der Tag DIV ausgeschrieben bedeutet? DIVerses. Benannt nach all dem unstrukturierten Zeug, was die Leute da so reinpacken und dann absolut positionieren ... -- Florian Hartig und Lars Kasper in dciwam - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Greetings from a new list member.
Folks, I've just joined the list, and wanted to send a quick note to introduce myself. My name is Jay Allen, and I'm a professional technologist, working for West Virginia University in the Web Services department. Currently I am administering a handful of web servers (windows, apache, php, CF, mssqlserver), as well as developing web applications for the university, and providing user-support for other developers and web site authors across campus. I'll be honest, I'm not an apache expert, but do I have some experience with it (and other) web servers. Fact is I've joined now as I'll be looking for some suggestions regarding a couple of recent issues I've had with Apache that I can't quite wrap my head around...hopefully you all might be able to point me in the right direction! Thanks, and well met. Jay J. Allen [EMAIL PROTECTED] Professional Technologist WVU Web Services ph: (304) 293-5276 fax: (304) 293-7414 - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Trouble with regexp on Directory, using Apache 1.3.33
Hello everyone, I've been trying to solve this for the last 2 days, but somehow I'm unable to see the logic here. Hope anyone can help me explain what's going on: I've got a few directories, lets say they're named A, B, C and D. Two of these (A and B) need to be restricted. I figured that this should be done by the following regexp: Directory ~ /home/websites/(A|B) To my knowledge, this should match /home/websites/A or /home/websites/B . Instead, Apache matches everything in /home/websites and blocks access to C and D as well. Strange, since a very similar regexp is shown in the apache 1.3 documentation: http://httpd.apache.org/docs/1.3/mod/core.html#location I also tried using (A|B)/? and several ways of matching the start and end of the string using ^ and $ , but to no effect. In an attempt to isolate the problem, I tried something else: Directory ~ (/home/websites/A|/home/websites/B) But strangely, this DOES match A but NOT B, so now I'm confused. I've checked the path and I'm sure there are no mistakes there. If I'm not using a regexp, eg. Directory /home/websites/A (or B), everything works like it should, so my guess would be that the contents of the directory-directive are right, only the regexp is the problem. What am I missing here? Thanks in advance, Martijn. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Trouble with regexp on Directory, using Apache 1.3.33
Martijn, Maybe I'm missing something, but in this case wouldn't using .htaccess be a good approach? spike Martijn wrote: Hello everyone, I've been trying to solve this for the last 2 days, but somehow I'm unable to see the logic here. Hope anyone can help me explain what's going on: I've got a few directories, lets say they're named A, B, C and D. Two of these (A and B) need to be restricted. I figured that this should be done by the following regexp: Directory ~ /home/websites/(A|B) To my knowledge, this should match /home/websites/A or /home/websites/B . Instead, Apache matches everything in /home/websites and blocks access to C and D as well. Strange, since a very similar regexp is shown in the apache 1.3 documentation: http://httpd.apache.org/docs/1.3/mod/core.html#location I also tried using (A|B)/? and several ways of matching the start and end of the string using ^ and $ , but to no effect. In an attempt to isolate the problem, I tried something else: Directory ~ (/home/websites/A|/home/websites/B) But strangely, this DOES match A but NOT B, so now I'm confused. I've checked the path and I'm sure there are no mistakes there. If I'm not using a regexp, eg. Directory /home/websites/A (or B), everything works like it should, so my guess would be that the contents of the directory-directive are right, only the regexp is the problem. What am I missing here? Thanks in advance, Martijn. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] begin:vcard fn:Spike Burkhardt n:Burkhardt;Spike adr;dom:;;3825 Fabian Way;Palo Alto;Ca;94303 email;internet:[EMAIL PROTECTED] title:Unix Systems Engineer tel;work:650-852-4787 tel;pager:877-720-8146 x-mozilla-html:TRUE version:2.1 end:vcard - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Problem Getting mod_ssl Running on RHEL3
Hi. I am trying to get 2.0.54 running on RHEL3/x86. I am running configure as follows: ./configure --enable-so --enable-shared=max --enable-proxy --enable-ssl Configure runs fine. I run into trouble when I try to make: /usr/bin/ld: warning: libcomm_err.so.3, needed by /usr/lib64/libssl.so, may conflict with libcom_err.so.2 I can't get past this point. Locate shows that both libcom_err.so.2 and libcom_err.so.3 are on the machine: /usr/kerberos/lib64/libcom_err.so.3 /lib64/libcom_err.so.2 I did some searching on Google to no avail. If someone could point me in the right direction, that would be great. Thx. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Authentication against Windows domain for Apache on Linux
Hi, unfortunately, you didn't write what version of Windows Server you are using. If you are running Windows 2000 Server or Windows Server 2003 as an Active Directory domain controller, mod_auth_ldap works just fine. Regards Sascha - Original Message - From: Tom DSilva [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Wednesday, August 24, 2005 5:39 PM Subject: [EMAIL PROTECTED] Authentication against Windows domain for Apache on Linux Hello all, We have a Windows file server with some shared folders. We have a web server running Apache on Suse. We want to give access to the shared folders via the web server only to the valid Windows users. We can not use the normal authenication techniques commonly used in Apache like basic, authentication, dbm, or LDAP. I wanted to know if there is any way to authenticate users against a Windows domain on Apache running in Linux? I couln't find any useful information on Google. Can anyone point me the appropriate resources? TIA, Tom - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Can't view PHP in localhost, please help!
I have checked everywhere I can think of to solve this problem on my own and have yet to find an answer that works. So now I turn to you. I'm using Dreamweaver to create PHP files for a new site I want to do. My server is Apache with phptriad. My problem is I can't get it to show the php code. All it wants to do is let me download it. I have followed every tut I can find to get this working correctly and nothing seems to work. Thanks in advance for your advice. Livi Let's Help Terminally Ill Children Smile. www.pagesforchildren.com Staying Healthy the Natural Way www.naturalyhealthy.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!
--- Olivia Hardy [EMAIL PROTECTED] wrote: I have checked everywhere I can think of to solve this problem on my own and have yet to find an answer that works. So now I turn to you. I'm using Dreamweaver to create PHP files for a new site I want to do. My server is Apache with phptriad. My problem is I can't get it to show the php code. All it wants to do is let me download it. I have followed every tut I can find to get this working correctly and nothing seems to work. Thanks in advance for your advice. Livi I haven't tried PHPTriad personally, but it sounds like Apache is configured wrong. Check your httpd.conf file and make sure the following lines are in there somewhere: AddModule phpN_module c:/path/to/phpNapache2.dll (where N is your PHP version) AddType application/x-httpd-php .php Good luck! -Nick Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!
Hi Livi, I am a bit confused, because the server is not supposed to show the code for matters of security. PHP is parsed and the output is returned to the client. And if the code is on localhost (your pc?), can't you just locate the folder in the filesystem? We need more info :) Kind regards Mads Olivia Hardy wrote: I have checked everywhere I can think of to solve this problem on my own and have yet to find an answer that works. So now I turn to you. I'm using Dreamweaver to create PHP files for a new site I want to do. My server is Apache with phptriad. My problem is I can't get it to show the php code. All it wants to do is let me download it. I have followed every tut I can find to get this working correctly and nothing seems to work. Thanks in advance for your advice. Livi Let's Help Terminally Ill Children Smile. www.pagesforchildren.com Staying Healthy the Natural Way www.naturalyhealthy.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!
I guess I misunderstood the show the php code part and took it litterally. Never mind my previous reply! Nick Jones wrote: --- Olivia Hardy [EMAIL PROTECTED] wrote: I have checked everywhere I can think of to solve this problem on my own and have yet to find an answer that works. So now I turn to you. I'm using Dreamweaver to create PHP files for a new site I want to do. My server is Apache with phptriad. My problem is I can't get it to show the php code. All it wants to do is let me download it. I have followed every tut I can find to get this working correctly and nothing seems to work. Thanks in advance for your advice. Livi I haven't tried PHPTriad personally, but it sounds like Apache is configured wrong. Check your httpd.conf file and make sure the following lines are in there somewhere: AddModule phpN_module c:/path/to/phpNapache2.dll (where N is your PHP version) AddType application/x-httpd-php .php Good luck! -Nick Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!
I'm getting the http://localhost/ I just can't get my php part of my files to show. It will show the html part of the file but that's all. Livi Let's Help Terminally Ill Children Smile. www.pagesforchildren.com Staying Healthy the Natural Way www.naturalyhealthy.com - Original Message - From: Nick Jones [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Wednesday, August 24, 2005 5:43 PM Subject: Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help! --- Olivia Hardy [EMAIL PROTECTED] wrote: I have checked everywhere I can think of to solve this problem on my own and have yet to find an answer that works. So now I turn to you. I'm using Dreamweaver to create PHP files for a new site I want to do. My server is Apache with phptriad. My problem is I can't get it to show the php code. All it wants to do is let me download it. I have followed every tut I can find to get this working correctly and nothing seems to work. Thanks in advance for your advice. Livi I haven't tried PHPTriad personally, but it sounds like Apache is configured wrong. Check your httpd.conf file and make sure the following lines are in there somewhere: AddModule phpN_module c:/path/to/phpNapache2.dll (where N is your PHP version) AddType application/x-httpd-php .php Good luck! -Nick Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005 - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!
If php module is not installed, then the code will display amongst the html because it won't be parsed. So you should see the code in plain text on the page if php doesn't work. If you get nothing at all, then maybe there are errors in the script and PHP-error-reporting-level prevents you from seeing the error. When developing, make sure you have error_reporting =E_ALL in php.ini. By default, Notices are not displayed and PHP-notices are regular errors in my point of view, such as undeclared variables. Try that first, make sure all errors/notices are displayed. Olivia Hardy wrote: I'm getting the http://localhost/ I just can't get my php part of my files to show. It will show the html part of the file but that's all. Livi Let's Help Terminally Ill Children Smile. www.pagesforchildren.com Staying Healthy the Natural Way www.naturalyhealthy.com - Original Message - From: Nick Jones [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Wednesday, August 24, 2005 5:43 PM Subject: Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help! --- Olivia Hardy [EMAIL PROTECTED] wrote: I have checked everywhere I can think of to solve this problem on my own and have yet to find an answer that works. So now I turn to you. I'm using Dreamweaver to create PHP files for a new site I want to do. My server is Apache with phptriad. My problem is I can't get it to show the php code. All it wants to do is let me download it. I have followed every tut I can find to get this working correctly and nothing seems to work. Thanks in advance for your advice. Livi I haven't tried PHPTriad personally, but it sounds like Apache is configured wrong. Check your httpd.conf file and make sure the following lines are in there somewhere: AddModule phpN_module c:/path/to/phpNapache2.dll (where N is your PHP version) AddType application/x-httpd-php .php Good luck! -Nick Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005 - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!
Hi again Olivia, By default the line says:error_reporting =E_ALL ~E_NOTICE (all errors but NOT notices) Did you remove ~E_NOTICE and restarted apache? If you have php-code and nothing is returned, this is the most common reason. An error that prevents anything from being written but the error is not displayed for security reasons. Mads Olivia Hardy wrote: I want to thank you, but that wasn't it. The line you asked about is in there. I'll just check something else and see what I can do. Thank you very much for your time on this matter. It is really appreciated. Livi Let's Help Terminally Ill Children Smile. www.pagesforchildren.com Staying Healthy the Natural Way www.naturalyhealthy.com - Original Message - From: Mads Rosendahl [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Wednesday, August 24, 2005 6:39 PM Subject: Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help! If php module is not installed, then the code will display amongst the html because it won't be parsed. So you should see the code in plain text on the page if php doesn't work. If you get nothing at all, then maybe there are errors in the script and PHP-error-reporting-level prevents you from seeing the error. When developing, make sure you have error_reporting =E_ALL in php.ini. By default, Notices are not displayed and PHP-notices are regular errors in my point of view, such as undeclared variables. Try that first, make sure all errors/notices are displayed. Olivia Hardy wrote: I'm getting the http://localhost/ I just can't get my php part of my files to show. It will show the html part of the file but that's all. Livi Let's Help Terminally Ill Children Smile. www.pagesforchildren.com Staying Healthy the Natural Way www.naturalyhealthy.com - Original Message - From: Nick Jones [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Wednesday, August 24, 2005 5:43 PM Subject: Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help! --- Olivia Hardy [EMAIL PROTECTED] wrote: I have checked everywhere I can think of to solve this problem on my own and have yet to find an answer that works. So now I turn to you. I'm using Dreamweaver to create PHP files for a new site I want to do. My server is Apache with phptriad. My problem is I can't get it to show the php code. All it wants to do is let me download it. I have followed every tut I can find to get this working correctly and nothing seems to work. Thanks in advance for your advice. Livi I haven't tried PHPTriad personally, but it sounds like Apache is configured wrong. Check your httpd.conf file and make sure the following lines are in there somewhere: AddModule phpN_module c:/path/to/phpNapache2.dll (where N is your PHP version) AddType application/x-httpd-php .php Good luck! -Nick Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005 - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005 - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project.
Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!
--- Olivia Hardy [EMAIL PROTECTED] wrote: Nick, you're correct. I don't have the php.ini file. Thanks. I'll see if I can locate it. You can simply copy it. If you did a default phpTriad install, it's in c:\apache\php. Just copy the php.ini in that directory to c:\windows, or if this is a development machine, copy php.ini-dist to c:\windows and then rename it to php.ini. HTH -Nick __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!
--- Nick Jones [EMAIL PROTECTED] wrote: --- Olivia Hardy [EMAIL PROTECTED] wrote: Nick, you're correct. I don't have the php.ini file. Thanks. I'll see if I can locate it. You can simply copy it. If you did a default phpTriad install, it's in c:\apache\php. Just copy the php.ini in that directory to c:\windows, or if this is a development machine, copy php.ini-dist to c:\windows and then rename it to php.ini. HTH -Nick Well I just realized that this PHP from phpTriad is using it's own supplied php.ini file, so I'm at a loss now. What version of phpTriad are you using? What type of computer is this on? Thanks -Nick Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Content Negotiation/Type-Map Question
Hello all, I've recently joined [EMAIL PROTECTED] because I've had a problem figuring out how to use type-maps recently, and nobody I've come across yet has been able to help. I'd like to know if there's a way to make type-maps and the MultiViews option work side-by-side. I'd like to utilize both within the same directory. Right now, the only way I can access a resource via type-map is by specifying the .var extension in the URL, even though .var isn't part of the resource name. If I don't specify the .var extension in the URL, then MultiViews takes over. More information about my problem, including an example, can be found at http://www.livejournal.com/community/apache/22990.html I'd appreciate any help I could get. Thanks in advance, -- Christopher C. Parker http://cparker15.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Trouble with regexp on Directory, using Apache 1.3.33
On 8/24/05, Martijn [EMAIL PROTECTED] wrote: Hello everyone, I've been trying to solve this for the last 2 days, but somehow I'm unable to see the logic here. Hope anyone can help me explain what's going on: I've got a few directories, lets say they're named A, B, C and D. Two of these (A and B) need to be restricted. I figured that this should be done by the following regexp: Directory ~ /home/websites/(A|B) Well, I'm not sure why this doesn't work, but you shouldn't even need a regex for that. You should be able to do Directory /home/websites/[AB]/ using shell-style wildcard character classes. See: http://httpd.apache.org/docs/2.0/sections.html#file-and-web which is for a more modern version of the server but should still apply to 1.3. Joshua. To my knowledge, this should match /home/websites/A or /home/websites/B . Instead, Apache matches everything in /home/websites and blocks access to C and D as well. Strange, since a very similar regexp is shown in the apache 1.3 documentation: http://httpd.apache.org/docs/1.3/mod/core.html#location I also tried using (A|B)/? and several ways of matching the start and end of the string using ^ and $ , but to no effect. In an attempt to isolate the problem, I tried something else: Directory ~ (/home/websites/A|/home/websites/B) But strangely, this DOES match A but NOT B, so now I'm confused. I've checked the path and I'm sure there are no mistakes there. If I'm not using a regexp, eg. Directory /home/websites/A (or B), everything works like it should, so my guess would be that the contents of the directory-directive are right, only the regexp is the problem. What am I missing here? Thanks in advance, Martijn. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Content Negotiation/Type-Map Question
On 8/24/05, Christopher Parker [EMAIL PROTECTED] wrote: I'd like to know if there's a way to make type-maps and the MultiViews option work side-by-side. I'd like to utilize both within the same directory. Right now, the only way I can access a resource via type-map is by specifying the .var extension in the URL, even though .var isn't part of the resource name. If I don't specify the .var extension in the URL, then MultiViews takes over. Well, if you want apache to select a file whose extension you haven't explicitly specified, then you need MultiViews. Without multiviews, apache has no way to find the .var file. There are a number of options here. One is to rename your .var file to not have any extension (so that it will directly match the URL rather than needing multiviews). Then use something like FilesMatch ^[^.]+$ SetHandler type-map /FilesMatch to mark all extension-less files as type-maps. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Missing supporting programs for HTTP server 2.0.54 on Windows
On 8/24/05, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: André Malo wrote: * William A. Rowe, Jr. wrote: log_server_status unfamiliar - I'll research next week split-logfile unfamiliar - I'll research next week - I'm guessing it's a wrapper around rotatelogs binary? Heh ;) http://httpd.apache.org/docs/2.0/programs/other.html Ahhh!!! They are not installed automatically :) So apparently nothing to change, here on win32. But the docs for each of these programs should probably have a brief win32 mention to help people out. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help!
I have a hp using xp. lol I'm going to try something real quick and see what happens. If it works, I'll let you know. Livi Let's Help Terminally Ill Children Smile. www.pagesforchildren.com Staying Healthy the Natural Way www.naturalyhealthy.com - Original Message - From: Nick Jones [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Wednesday, August 24, 2005 7:20 PM Subject: Re: [EMAIL PROTECTED] Can't view PHP in localhost, please help! --- Nick Jones [EMAIL PROTECTED] wrote: --- Olivia Hardy [EMAIL PROTECTED] wrote: Nick, you're correct. I don't have the php.ini file. Thanks. I'll see if I can locate it. You can simply copy it. If you did a default phpTriad install, it's in c:\apache\php. Just copy the php.ini in that directory to c:\windows, or if this is a development machine, copy php.ini-dist to c:\windows and then rename it to php.ini. HTH -Nick Well I just realized that this PHP from phpTriad is using it's own supplied php.ini file, so I'm at a loss now. What version of phpTriad are you using? What type of computer is this on? Thanks -Nick Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005 - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Problem with Apache 2
I have two problems with one setup of Apache2. One server is OK, the other is not, and they have the same configuration. Problem #1: The errorlog has some weird stuff in it: # more /usr/local/apache2/logs/error_log [Wed Aug 24 20:42:58 2005] [notice] FastCGI: process manager initialized (pid 21811) [Wed Aug 24 20:42:58 2005] [notice] Apache configured -- resuming normal operations Content-type: text/html Content-type: text/html Content-type: text/html Content-type: text/html Content-type: text/html Problem #2: It is supposed to start two fastcgi processes -- one for php4 and one for php5, but only starts php4. I'm working on gathering more information on this, but was wondering if problem #1 looked familiar and if it might be the problem for #2 or visa-versa. Thanks, -steve-- - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]