[us...@httpd] How to install Apache2 on Windows 7
Hi friends, Please show me another link or instruction to install Apache 2. I downloaded this file but can't install onto Windows 7 Home edition: httpd-2.0.63-win32-src.zip I opened above link with winrar , but I couldn't extract files to C drive. Thank you Can Le
Re: [us...@httpd] How to install Apache2 on Windows 7
Thank John Doe and Mohit Anchlia, I have It Works! from binary download. I haven't worked on Apache2 for about a year, I am coming back, and will have other questions for your helps again. Thank You. Can Le --- On Wed, 3/31/10, John Doe wrote: > From: John Doe > Subject: Re: [us...@httpd] How to install Apache2 on Windows 7 > To: users@httpd.apache.org > Date: Wednesday, March 31, 2010, 8:07 AM > From: Can Le > > Please show me another link or instruction to install > Apache 2. I downloaded this file but can't install onto > Windows 7 Home edition: > > Tried the apache website download page...? > > > httpd-2.0.63-win32-src.zip > > I opened above link with winrar , but I couldn't > extract files to C drive. > > Dunno why you could not, but the 'src' means these are the > sources... > Maybe try the Win32 Binary packages for 2.2.15 on the > download page. > > JD > > > > > - > The official User-To-User support forum of the Apache HTTP > Server Project. > See http://httpd.apache.org/userslist.html> for more > info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[EMAIL PROTECTED] How to dsiplay photo from cgi-bin
Hi friends, Apache2 can display photo.jpg in my localhost/htdocs but my localhost/cgi-bin can't show the same photo.jpg. Please show me why or the missing AddType or AddHandler ? Thank you for your helps Can - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.
Re: [EMAIL PROTECTED] How to dsiplay photo from cgi-bin
Thank Joshua Slive <[EMAIL PROTECTED]> wrote:. 1. Move your photo.jpg someplace else. 2. Reconfigure apache:http://wiki.apache.org/httpd/Errors/DirectoryAsScript On 1. It works when I moved image.jpg to htdocs: http://localhost/image.jpg On 2. Link suggested: Alias /cgi-bin /var/www/cgi-bin AddHandler cgi-script cgi pl Options ExecCGI Should I add .jpg after "cgi pl " as "cgi pl jpg " or add image.jpg into another directory such as: /cgi-bin/photo/image.jpg ? The file image.jpg is also working OK in cgi-bin when the output text file has a html tag for http://localhost/cgi-bin/image.jpg Thank you - Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta.
Re: [EMAIL PROTECTED] TIF image files
Hi, Try this: http://localhost/file.TIF> Did you put image file in htdocs ? lecan.net "Vaughn, Terry" <[EMAIL PROTECTED]> wrote: I cannot get Apache to display the file.TIF with this simple .htm : Terry - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.
RE: [EMAIL PROTECTED] Apache 2.2.3
Quote: "path/to/file/filename.gif" You have 2 cases: gif file in : 1. /htdocs/filename.gif 2. /cgi-bin/filename.gif Your access type may display gif in case 1 with htdocs, but not in /cgi-bin/ Check the size of gif file, if you have 0 byte then it won't show! Can Hiep Nguyen <[EMAIL PROTECTED]> wrote: On Mon, 11 Jun 2007, Kong, Alan wrote: > Unfortunately, there is no error message. Error log doesn't show > anything, there is a access log that pointing the the file though. This > is why I can't figure it out what's going on. > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua > Slive > Sent: Friday, June 08, 2007 3:24 PM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Apache 2.2.3 > > On 6/8/07, Kong, Alan wrote: >> >> Hi group, >> >> I installed apache 2.2.3 in HPUX11.11 and I will be able to access the > >> test index.html(It works!!!). However, when I try to access the test >> gif in the same directory, it gives me an error saying that it is not >> available. >> >> I am new for apache, does anyone know how to fix this problem? > > Show us the exact message from apache's error log. > > Joshua. > > - > The official User-To-User support forum of the Apache HTTP Server > Project. > See for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > can you access the image directly? http://xxx.xxx.xxx.xxx/path/to/file/filename.gif if u can't access, try to change permission to 777 to see if the permission issue, otherwise, take a look at the index.html code again or post it here so everyone can see. T. Hiep - The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - You snooze, you lose. Get messages ASAP with AutoCheck in the all-new Yahoo! Mail Beta.
Re: [EMAIL PROTECTED] Code Pages Downloadable!
Hi, I think you need to update AddHandler ìn your httpd.conf to use file extension .aspx as people changed AđHandler to use file .exe ? Such as: AddHandler cgi-script .aspx (example for .exe) If you can show me how to change icon in file favicon.ico, I copied and changed icon in htdocs but it doesn't work. Can Le dugaldcurtis <[EMAIL PROTECTED]> wrote: Sorry for asking such a basic question but I am struggling in the transition aspx from IIS to Apache. I am using mod_mono and everything works fine. If I go to mysite.com/login.aspx I get to my login page etc. However, if I go to mysite.com//login.aspx (notice the extra slash) it asks me if I would like to download the aspx page, and when I do it gives me the raw code. What am I doing wrong? What setting have I missed? :confused: -- View this message in context: http://www.nabble.com/Code-Pages-Downloadable%21-tf4747449.html#a13574897 Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. - The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[EMAIL PROTECTED] How to recover the disappeared icon
Hello friends, After I re-installed to recover windows XP home and Apache2, my personal Icon disappeared, it is replaced by Apache feathered Icon. I copied and pasted image file favicon.ico from Manual to htdocs, but it won't show the feather image as my page had it before, now it is showing only the notepad logo!. I use the same httpd.conf which was worked OK on Icon. I restarted computer after I restarted apache2. Please help me solve the icon problem. Thank you Can Le __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com pgputKfAN5tRs.pgp Description: pat1604059182 - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] How to recover the disappeared icon
Thank Tom Hart <[EMAIL PROTECTED]> wrote: >It might be helpful if you were able to provide us with more information about >your >system and your apache setup. I am using Window XP Home, Redhat 9.0, apache2 with Active Perl 5.8. Checked folder htdocs I have file favicon.ico in it, but properties and attributes show a checked mark on [x] Read only, after I uncheck it and clicked OK, I re-opened to check: It is [x] Read only again! I tried to change folder apache2.2 too, it won't change this permission [x]Read only! You may be right about file permission, may be network with 16 bits mixed to my WindowsXP 32 bits?. Please help. Can Le __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [EMAIL PROTECTED] Help Needed :(Apache Ver 1.3) Permission denied: proxy: error deleting old cache file
Hi! I have the same question, but I add some help lines for error code 500. I searched a few forums for Configuration Apache2 to run files.exe on Windows XP Home edition. I did not have user and group for error 500 ? I searched book The Complete Apache server 2.0 by Osborne Mc Graw Hill, Google, and Yahoo copy từ log/error : Example errors: When I put my file name Hello.exe in cgi-bin and open with Firefox: error 1 code 500: [2006] [error] [client 123.2.3.4] (OS 5)Access is denied. : couldn't spawn child process: C://Apache2/.../cgi-bin/HELLO.EXE error 2: [ 2006] [error] [client 123.2.3.4] client denied by server configuration: C:/...//Apache2.2//favicon.ico Help lines: 1. Mod_asis: AddHandler send-as-is asis 2. Allow file to exist Outside the DocumentRoot: AliasMatch /new/_(.*) # .* for .exe .jpg .gif 3. VirtualHost name, not IP 123.2.3.4 with DocumentRoot for files.exe Please also help me on Apache2 for configure httpd.conf for shorter tests and reboots times to run hello.EXE by 2 errors above ? Can Le Vikas Bhat <[EMAIL PROTECTED]> wrote:Hi, I'm sorry If I'm posting this query to a wrong group, Please correct me this is the first time for me. Question: I see following errors in Apache (old ver 1.3) error.log: Plenty of them. Not sure why Permission Denied would be logged ? "[error] (13)Permission denied: proxy: error deleting old cache file C:/Program Files/Apache Group/Apache/proxy/i/5/s/ouihpyc0cywdl45v325gu2c" Can you please give me some pointer what could be wrong ? From httpd.conf: --- # # Proxy Server directives. Uncomment the following lines to # enable the proxy server: # # ProxyBlock 10.10.10 ProxyRequests Off ProxyVia Off CacheRoot "C:/Program Files/Apache Group/Apache/proxy" CacheSize 20480 CacheGcInterval 4 CacheMaxExpire 24 CacheLastModifiedFactor 0.1 CacheDefaultExpire 1 SSLEngine off RewriteEngine on RewriteRule ^/(.*) https://%{SERVER_ADDR}/$1 [L,R] Thanks Vikas __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [EMAIL PROTECTED] Newbie Help, Please
Hi, Thomas Antony <[EMAIL PROTECTED]> wrote: and the user under the apache daemon is running needs read permissions on the files and directories. Can you show us how to change permissions or chmod in httpd.conf for Apache2 in Windows XP to avoid errors: http://localhost/cgi-bin/hello1.exe Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. error log: error 1: [Sat Dec 09 09:26:01 2006] [error] [client 127.0.0.1] (OS 5)Access is denied. : couldn't spawn child process: C:/path.../cgi-bin/HELLO1.EXE Thank you Can Le - Any questions? Get answers on any topic at Yahoo! Answers. Try it now.
Re: [EMAIL PROTECTED] Newbie Help, Please
Steve Swift <[EMAIL PROTECTED]> wrote: Long story short, I have added the vhost part to the httpd.conf and the directory statement. I get the message in the error log that "Permission is denied for /index.htm". If anyone needs any additional information, please ask. Please tell us what I did wrong when I could run cgi such as test.cgi but I can't run index.html, because "Permission is denied". Thank you Can Le __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[EMAIL PROTECTED] Missing Mod_Access
Please help My httpd.conf doesn't have Mod_Access. Is this cause internal error ? I recently get failure notice from email server. This is a test with a question. Thank you Can Le __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [EMAIL PROTECTED] Missing Mod_Access
Thank Sander Temme I checked my httpd.conf and I am having mod_authz_host.so. Can Le Sander Temme Sander Temme <[EMAIL PROTECTED]> wrote: mod_access was renamed in httpd 2.2. Please refer to: http://httpd.apache.org/docs/2.2/upgrading.html Its new name is mod_authz_host. Your message was received by the users@httpd.apache.org mailinglist. S. [EMAIL PROTECTED]http://www.temme.net/sander/ PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [EMAIL PROTECTED] Missing Mod_Access
Happy New Year to Sander Temme I do not have problem when I run my test.exe in Internet Explorer, however, Firefox gave me these errors and asked me to down load file test.exe, but Firefox did not run it on console: logs/error: [Mon Jan 01 16:58:04 2007] [error] [client 127.0.0.1] malformed header from //script. Bad /header=: testlcd83c.exe, referer: http://localhost/cgi-bin/test1.cgi logs/access: 127.0.0.1 - - [01/Jan/2007:17:01:41 -0600] "GET /cgi-bin/test1.exe HTTP/1.1" //200 190 I did not reboost my windows XP Home and Apache2, but I restarted httpd.conf whenever I changed any line. Please tell me what should I have for: LoadModule, or default type, or or : application/octet or text/html Thank you for helps Can le Sander Temme <[EMAIL PROTECTED]> wrote: Can Le, On Dec 29, 2006, at 7:16 PM, Can Le wrote: > I checked my httpd.conf and I am having mod_authz_host.so. Please tell us in detail about the error you are referring to: 1) Do you see it when you try to start the server, or when you access a URL on your server? 2) If the error occurs when you start the server: is there output on the terminal window? What does it say? Is there error output in the error_log? 3) If the error occurs when you access a URL on your server: what does the error response say? Please turn off "Friendly Error Messages" in Internet Explorer, or use Firefox for testing. What information appears in the access_log and the error_log when Apache generates the error response? Please provide as much information as you can, so we can help you find the problem. S. -- [EMAIL PROTECTED]http://www.temme.net/sander/ PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [EMAIL PROTECTED] Missing Mod_Access
Sander Temme, You are the skilled person in the art of Apache. After I changed html code "" by "\n", the header error is gone. My C++ script were running OK in both IE and Firefox if I only have "cout" for printing outputs. Therefore I had a popup windows which asked me to download my test1.exe file in CGI-BIN folder when I only used Firefox, not IE. I had no error on exe file when I added "cout " to print two lines below: // #!C:\Perl\bin\per / /use CGI; So my question is what is the proper HTTP header to run my test1.exe in Firefox? Thank you for your helps. Can Le Sander Temme <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] http://www.temme.net/sander/ > PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [EMAIL PROTECTED] Alternate cgi-bin directories not working on apache 2.0.52 on rhel
Hi, Error: "Premature end of script headers:" Did you put the below line on top of your cgi file for html header? Content-type: text/html\n\n" Can Le "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:This is weird. New server. cgi's don't execute outside the normal cgi-bin directory. The problem was showing up as problems with a nagios install. The nagios front page works, but the status pages, which are all cgi's, don't work. I increased logging to debug in apache and I get: [Tue Jan 09 14:53:21 2007] [error] [client 10.3.41.164] (13)Permission denied: exec of '/usr/lib/nagios/cgi/tac.cgi' f ailed, referer: http://some.server.com/nagios/side.html [Tue Jan 09 14:53:21 2007] [error] [client 10.3.41.164] Premature end of script headers: tac.cgi, referer: http://some.server.com/nagios/side.html I tried some nagios config things, but then I took a simple hello world CGI, verified that it worked in the standard cgi-bin directory, and copied it into the script alias directory for nagios and it doesn't work. Tried script alias directories in a few different partitions just to be sure. None of them worked. Compiled a different version of apache, non-rpm, and installed in another directory, and that works,.but don't want to go that route. Any ideas? Some details below: apache on rhel: httpd-2.0.52-25.ent Linux some.server.com 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux Nagios install wasn't working. conf.d/nagios.conf is: ## ScriptAlias /nagios/cgi-bin/ "/usr/lib/nagios/cgi/" Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user ## Relevant cgi entry from the httpd.conf: ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" # # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride None Options None Order allow,deny Allow from all ## __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[EMAIL PROTECTED] CGI Windows XP
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/" 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.
Re: [EMAIL PROTECTED] CGI Windows XP
Hi Steve, I have had "Allow from all" as below: AllowOverride None Options None ##Options Includes +ExecCGI MultiViews (tried) Order allow,deny Allow from all Can you show me why I unchecked Read Only in my Windows XP, but after 1 or 2 second it returned Checked Read Only ? What permission should I take in Registry for system, Adm, and owner? Thank you for your helps. Can Le Steve Swift <[EMAIL PROTECTED]> wrote: The default block for the CGI directory under Windows is: AllowOverride None Options None Order allow,deny Allow from all I don't see the "Allow from all" in your version. On 19/01/07, Can Le < [EMAIL PROTECTED]> wrote:Hi, Please help me debug or post a sample link for CGI problem. - Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games.
Re: [EMAIL PROTECTED] CGI Windows XP
Hi Steve, I checked my spells from Apache2.2 and my files, I had cgi while default was cgi-bin. It worls after I changed cgi-bin. Thank you for your helps Steve Can Le Steve Swift <[EMAIL PROTECTED]> wrote:I've deleted the history on this. "Read only" tends to come back on directories for some reason, but this wouldn't normally affect apache as it is most a "read only" application (apart from the logs). Without the history I cannot imagine why you'd need to do anything in the registry. I run Apache 2.2 under Windows XP with CGI scripts and I've never been anywhere near the registry. -- Steve Swift http://www.swiftys.org.uk - Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
[users@httpd]
- The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Re: confirm subscribe to users@httpd.apache.org
SF Mail Server at mx1-lw-us.apache.org) > with ESMTPS id D1B8C5FB57 > for >; Sat, 27 > Aug 2016 21:00:10 + (UTC) > Received: by mail-wm0-f42.google.com with SMTP id o80so37781756wme.1 > for >; Sat, 27 > Aug 2016 14:00:10 -0700 (PDT) > DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; > d=gmail.com; s=20120113; > h=mime-version:from:date:message-id:subject:to; > bh=Tvtilblec8DTwKUBF0+Aw637iJkI12SZ93GeyQwSi/Y=; > b=eIczdB9mGWVGcFdvKJ1+n9RAVWP9076Fw/WrzBxhyVk9vmIQotNChlbh1XqtLeiF > Qn > dJ4CGdofdQZ9M1NTbTxYRVt9TwvIFT/E9nbcJBMNPJa3fOJTGA+ > kv72ocQGvs6ntu/eQ > PUI6qU456X0UGtiDCPRHg0eHdHD4AySUiDdpVIyE6fYyZNfc/ > I2K0XgdY2YTccUlw16t > WH3jHb634VIe4/nuEumwGQx7MnfksV18RFvxGEtQgmal > Z+Fbhaev0WVb9rurJJs5SYP8 > V43NlAKBBYmW6phZf88CvjzBBXe0TRtReF3W0cU3X8R3V0GNNcTh5AM50zNk > fvyfdukZ > o7bw== > X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; > d=1e100.net; s=20130820; > h=x-gm-message-state:mime-version:from:date:message-id:subject:to; > bh=Tvtilblec8DTwKUBF0+Aw637iJkI12SZ93GeyQwSi/Y=; > b=AztKPm+0WSUwe7uaaJnxA7V4Qt4JOQlsDPb7w > Di8YV4ceUQWkDWpGpwkrKS07rf4lH > LHTqnDnruFDaova8cgncwRF06T8nzj0AW2li1SH/Cu4L+8vE4t+aoAS+7jT+ > /+UWtxWU > D5HMrbLGEmq98XdieyAQzrPIhHTgpxkM3FEs/ > OTxoHAZRB16BI0kAnz0seTctSlksydH > RgqCZb68eTc+gpBKOIofqkPzjVfFeE+4eG0QdXa5D/ > fden4TctJSqaaBY7zajZsqhqNq > +WJEp6VqordWMp7yHgWJsMB/1j7SHJsWn/2w+ > 0oDqYYkBD9uwWRiL37jDLMuDMNyI3dN > ntFw== > X-Gm-Message-State: AE9vXwMMSMkjtEoZOy2cNRglrCT+ > PrgK1Q0StEvDa56jm9ULn59mAWVJ0MeSEvGjWSUJi7qsXWupp/MBhQcPJQ== > X-Received: by 10.194.75.198 with SMTP id e6mr9958382wjw.31.1472331604350; > Sat, 27 Aug 2016 14:00:04 -0700 (PDT) > MIME-Version: 1.0 > Received: by 10.28.229.12 with HTTP; Sat, 27 Aug 2016 14:00:03 -0700 (PDT) > From: Can Le > > Date: Sat, 27 Aug 2016 16:00:03 -0500 > Message-ID: mhz6vbdmh+pz4zmhhnpuc-j0rzonau+-eu-v36m...@mail.gmail.com > > Subject: Subscribe. > To: users-subscr...@httpd.apache.org > Content-Type: multipart/alternative; boundary=047d7bb04adc44de94053b13eac3 > > -- http://www.lecan.net
[users@httpd] Apache24 cgi
Hi friends, Please help on Apache24 10cv httpd-2.4.23-win32 which is running on my Windows 8.1 tablet 32 bits. After installed, I coud have It works on htdocs with root document: C:\Apache24\htdocs\index.html. I could not open in browser for ip from ipv4 http://192.168.0.3, nor http://localhost/index.html . In httpd.conf, I have had ServerName: http://192.168.0.3:80 and AddHandler cgi-script .cgi .pl However, when I tested the sample file printenv.pl on my browser, the output is a copy of old text file printenv.pl : C:\Apache24\cgi-bin\printenv.pl When I tested this sample cgi pl on command prompt for path above, I have this perl sample program running with output from perl on black and white terminal, without color from html: Hello perl My address box on browser is: C:\Apache24\cgi-bin\printenv.html So the shebang is good as : #! /C:/Strawberry/bin/perl. Please help me find what codes are needed to run CGI on httpd.conf on Windows 8.1. Thank you. lecandotnet On Sunday, August 28, 2016, Yann Ylavic wrote: > On Sun, Aug 28, 2016 at 7:51 PM, Michael Gordon > wrote: > > > > Just wait till you want to unsubscribe from the list! > > > > I have been trying for over 6 months and finally sent all "[users@httpd]" > to > > the Junk Folder. > > > [...] > > - > > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > > > That's it... > > Regards, > Yann. > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > > -- http://www.lecan.net
Re: [users@httpd] ap_log_error dumps on apache start with apache 2.4
Hi friends, Please help on Apache24 10cv httpd-2.4.23-win32 which is running on my Windows 8.1 tablet 32 bits. After installed, I coud have It works on htdocs with root document: C:\Apache24\htdocs\index.html. I could not open in browser for ip from ipv4 http://192.168.0.3, nor http://localhost/index.html . In httpd.conf, I have had ServerName: http://192.168.0.3:80 and AddHandler cgi-script .cgi .pl However, when I tested the sample file printenv.pl on my browser, the output is a copy of old text file printenv.pl : C:\Apache24\cgi-bin\printenv.pl When I tested this sample cgi pl on command prompt for path above, I have this perl sample program running with output from perl on black and white terminal, without color from html: Hello perl My address box on browser is: C:\Apache24\cgi-bin\printenv.html So the shebang is good as : #! /C:/Strawberry/bin/perl. Please help me find what codes are needed to run CGI on httpd.conf on Windows 8.1. Thank you. On Friday, September 16, 2016, Eric Covener wrote: > On Fri, Sep 16, 2016 at 1:20 AM, megha chauhan > wrote: > > The same code is working for apache 2.2. > > Did you compile this code properly against 2.4 headers? ap_log_error > is a macro in 2.4. Your binary should only show ap_log_error_ as > undefined with nm otherwise something is fishy. > > Also "r" is a very confusing variable name for a server_rec. > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > > -- http://www.lecan.net