I will be using this group to field questions, provide support
(where/when I can), and take suggestions.
If you use zangweb and like it, please give me any feedback you can.
Thanks,
JA
I have successfully installed zangweb alonside IIS on a Windows XP
machine.
They will not conflict unless they both start at the same time and try
to grab port 80.
To make them play together, I shutdown and disabled the IIS service
(you might be able to simply set it to manual, but I'm not sure if the
IIS Admin service will try to start it). Then I installed zangweb and
set its services to "Manual". Now when I reboot I get no web server
until I start one.
I get no conflicts as long as I don't try starting one on top of the
other.
If you specify a folder to be CGI capable with Apache, by default it
treats every file in that folder as a CGI program, and of course
throws errors when it tries to process an HTML document as Perl.
For a project I am working on, I have a cache folder that stores html
generated by CGI from a template. The 'cache' folder is directly
beneath the CGI program, and is linked relatively.
To make this work, I did the following:
1. Created the folders
C:/zangweb/project
C:/zangweb/project/cache
2. Edited Apache's config file (C:/zangweb/Apache2/conf/httpd.conf) --
I added a ScriptAlias to the <IfModule alias_module> directive, e.g.
<IfModule alias_module>
ScriptAlias /project/ "C:/zangweb/project/"
</IfModule>
3. (Also in httpd.conf) -- I added a <Directory> directive as
<Directory "C:/zangweb/project">
AllowOverride None
Order allow,deny
Allow from all
Options +ExecCGI
AddHandler cgi-script .cgi .pl
AddHandler default-handler .html .htm .gif .jpg
</Directory>
Notice I have two handlers. The "default-handler" is told to "handle"
files with .html|.htm|.gif|.jpg extensions and treat them as standard
HTML content. Files with .cgi|.pl extensions are treated as a CGI script.
That was it. Now my CGI program can generate static HTML and
redirect when the cache content is current.
JA
Windows 2003 Server - This is the development server. Tested successfully.
Windows 2000 Server - Required reboot in order for "zangweb - Apache2"
service to start. Tested Successfully.
Windows XP - Required reboot. Tested successfully.
--- In zangweb@yahoogroups.com, "arbingersys" <arbingersys@...> wrote:
> To make them play together, I shutdown and disabled the IIS service
> (you might be able to simply set it to manual, but I'm not sure if the
> IIS Admin service will try to start it).
To be clear, I mean "World Wide Web Publishing Service" when I say
"IIS service" above. This shouldn't be confused with the "IIS Admin
service". They are two separate services.
--- In zangweb@yahoogroups.com, "arbingersys" <arbingersys@...> wrote:
> To make them play together, I shutdown and disabled the IIS service
> (you might be able to simply set it to manual, but I'm not sure if the
> IIS Admin service will try to start it). Then I installed zangweb and
> set its services to "Manual". Now when I reboot I get no web server
> until I start one.
If you wanted these services to run simultaneously, on different
ports, you could simply modify C:\zangweb\Apache2\conf\httpd.conf to
listen on a different port:
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80 <-- change to something like 8080
Once you make this modification and restart the "zangweb - Apache"
service, the change will have been made.
Disclaimer: I haven't tested this.
Zangweb,
I have downloaded and installed the zangweb_setup.exe successfully on
Windows 2000. I have also moved all my web folders to
C:\Zangweb\Apacge2\htdocs with the index.html being the first file
being served from the web server. But when I open my website address,
it appears as Zangweb! web page instead of my index.html web page. I
am not sure what could go wrong. The previous web server application I
used is Apache 1.3.x old version.
Could you advise what I need to do to make my website run on zangweb
web server?
Thank you very much.
Sutida
I've just installed the Zangweb software on my PC (Windows XP v5.1), and am trying the very simple program:
package AplTest::Test; use Apache2::Const -compile => qw(OK);
sub handler { my $r = shift; $r->send_http_header('text/plain' ); $r->print("Blah, blah, blah!\n" ); return OK; # we must return status to mod_perl } 1;
After the httpd.conf is modified to point to the above PM, running the program produced the following in the error log:
[error] [client 127.0.0.1] failed to resolve handler `AplTest::Test': Can't locate Apache2/Const.pm in @INC (@INC contains: C:/zangweb/mod_perl C:/strawberry/perl/lib C:/strawberry/perl/site/lib . C:/zangweb/Apache2) at C:/zangweb/mod_perl/AplTest/Test.pm line 2.\nBEGIN failed--compilation aborted at C:/zangweb/mod_perl/AplTest/Test.pm line 2.\nCompilation failed in require at (eval 3) line 3.\n
I thought the Install modified INC properly. I did a find on my Windooze box, and found no Const.pm, though I did find a number of HTML docuemnts starting Const.
Searching on the Internet for barrier foil products, I have visited
http://valdamark.co.uk/barrier-foil-products.html and found lots of barrier foil
products at very competitive price. Many companies prefer barrier foil packaging
and products for company's good protection.
Browse above link and you will find great barrier foil products.