03-27-2005
Web Site Creation - testing .*pl etc....
Hiya All,
How can I test my PERL Scripts whilst making my web site?
I'm hoping there is some software out there that emulates a Web Server - without all the hassle of my building/setting up a Web Server from Stratch (Never done anything like that before - my next big project! 8) )
I'm happily my basic Web site at the moment, and haven't uploaded onto a web server or anything yet.
I'm stuck at the 1st hurdle WRT Perl Scripts!
I've created a basic PERL Script, which is suppose to generate a test web page. (See below.)
I cannot get it to run on my Standalone XP laptop at the moment. I'vve tried on my REHAT 8.0 PC as well - no good. It just fires up a DOS screen for a second, then dies
Hope you can help
Martin
>>>>>>>>>>>>
My Perl Script:
.....
!#C:Perl\bin\perl.exe
print "content-type:text/html\n\n";
print "<html>";
print "<head>";
print "<title>Test Web Page by PERL SCRIPT</title></head>";
print "<body>";
print "<h2>Test Web Page by PERL SCRIPT!</h2>";
print "</body>";
print "</html>";
>>>>>>>>>>>>>>>>>>>>>>
PS:
I'm making a basic Team Web site.
Looking to add a Basic MySQL database at back, with PERL scripts referencing it etc.....
I'm stuck on the 1st hurdle!
Please help!
8)
9 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
Hi,
I created a new site called http://www.goodpassword.com to help users and adminstrators create good, random passwords. It also includes .htaccess encryption.
I'd be interested in feedback ie errors, improvements, additions etc.
thanks
DJay (0 Replies)
Discussion started by: djay
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a m/c loaded with redhat linux, static IP address and this m/c intern connected to the internet thro leaseline. Now i need to setup a company website has www.abc.xyz.com. What necessary configuration i need to do so that others can view our website.
Thanks
Bache Gowda (5 Replies)
Discussion started by: bache_gowda
5 Replies
3. News, Links, Events and Announcements
Here is a great news story:
http://story.news.yahoo.com/news?tmpl=story&cid=74&e=9&u=/cmp/13100775 (3 Replies)
Discussion started by: Neo
3 Replies
4. UNIX for Dummies Questions & Answers
I have a unix server running RedHat Linux 9.0. I want to mirror my site on a different server with the same configuration so if the main server goes down, the other server will take over. How is this best accomplished? (1 Reply)
Discussion started by: wvmlt
1 Replies
5. AIX
hello
I would like to create an internal web site, but how do i make it with Aix ?
I must to install apache and send my http pages in the declared repertory ?
There are some configuration files to modify ??
thank you (2 Replies)
Discussion started by: pascalbout
2 Replies
6. AIX
hi guys,
ok this script, i am trying to browse a http site and store the output in a text file ...
when i run the script , i get a http compatibility error.
does any1 have a good solution to contact a http server and save the html in a text file.. i know the result comes with html tags. ... (4 Replies)
Discussion started by: kirantalla
4 Replies
7. Shell Programming and Scripting
I have always wanted to create my own site, I've only had one class about the basics in creating web pages but know i would like to get into more and more detailed info about doing so anyone with alot of experience please help me out.:b: (0 Replies)
Discussion started by: kprescod4158
0 Replies
8. Web Development
Hi All,
I am currently managing a web site. I find that during the peak time period,ie,between 1300hrs to 2100hrs everyday,the response slows down whenever i access the applications hosted by the server.However when i try to access the static content in the web server,it loads quickly.
The... (2 Replies)
Discussion started by: Hari_Ganesh
2 Replies
9. Web Development
Hi,
I would like to create an application with HTML front end in Unix.
I am working on enterprise Unix server, so I could not install any add ons or software in my machine. but still i have super user permissions. I can change the permissions as i wish. I have built a small application with... (1 Reply)
Discussion started by: Balasankar
1 Replies
LEARN ABOUT DEBIAN
svn::web::rss
SVN::Web::RSS(3pm) User Contributed Perl Documentation SVN::Web::RSS(3pm)
NAME
SVN::Web::RSS - SVN::Web action to generate an RSS feed
SYNOPSIS
In config.yaml
actions:
...
rss:
class: SVN::Web::RSS
action_menu:
show:
- file
- directory
link_text: (rss)
head_only: 1
icon: /css/trac/feed-icon-16x16.png
opts:
publisher: address@domain
...
DESCRIPTION
Generates an RSS feed of commits to a file or path in the Subversion repository.
CONFIGURATION
The following options may be specified in config.yaml.
publisher
The e-mail address of the feed's publisher. This is placed in to the "<dc:publisher>" element in the RSS output.
There is no default. If not specified then no "<dc:publisher>" element is included.
Note: RSS dates have a specific format. Accordingly, the "timezone" and "timedate_format" configuration options are ignored by this
action.
OPTIONS
See SVN::Web::Log.
TEMPLATE VARIABLES
See SVN::Web::Log.
EXCEPTIONS
See SVN::Web::Log.
COPYRIGHT
Copyright 2003-2004 by Chia-liang Kao "<clkao@clkao.org>".
Copyright 2005-2007 by Nik Clayton "<nik@FreeBSD.org>".
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
perl v5.14.2 2012-06-11 SVN::Web::RSS(3pm)