473,513 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Replacing Perl files with ASPX files.

Hi,

Before I start I'm a neebie and I've spent the last day getting some
basics on .net but come from a unix background. I currently have a
site that needs to keep it's HTML file endings, I can't reconfigure
HTML to run as aspx on the server, and am looking to keep the existing
files where they are.

I've got a series of challenges to reconfigure stuff but I'm starting
with an easy first step. On each page there is a box to submit an
email. This used to just call up a perl script and post the email.

I now am on a .net box and from what I've read need to turn the page
in to an aspx page to make this work. I cannot and don't really want
to (aspx endings I consider user unfriendly) but I'm willing to let
the thank you pages be aspx endings, even if I prefer .html.

Now I know this is a tall order, first because I'm new to this and
secondly because, from what I've seen so far, .net wants me to work in
a way I don't want to (sorry, don't want to budge) but can anyone
offer a simple solution / example that I can use on this site.

Cheers

Stewart Dean

Mar 1 '07 #1
3 1395
Before I start I'm a neebie and I've spent the last day getting some
basics on .net but come from a unix background. I currently have a
site that needs to keep it's HTML file endings, I can't reconfigure
HTML to run as aspx on the server, and am looking to keep the existing
files where they are.

I've got a series of challenges to reconfigure stuff but I'm starting
with an easy first step. On each page there is a box to submit an
email. This used to just call up a perl script and post the email.

I now am on a .net box and from what I've read need to turn the page
in to an aspx page to make this work. I cannot and don't really want
to (aspx endings I consider user unfriendly) but I'm willing to let
the thank you pages be aspx endings, even if I prefer .html.

Now I know this is a tall order, first because I'm new to this and
secondly because, from what I've seen so far, .net wants me to work in
a way I don't want to (sorry, don't want to budge) but can anyone
offer a simple solution / example that I can use on this site.

Cheers

Stewart Dean
You can map any extension of file to be handled as an asp.net one. However
you can still have an HTML file like you do know and have it's FORM's action
post to an ASPX page. The aspx page sends the e-mail then directs the user
to an html thank you page. That way the user only ever sees two html pages
and no aspx ones.
Mar 1 '07 #2
On 1 Mar, 14:36, "Aidy" <a...@noemail.xxxa.comwrote:
Before I start I'm a neebie and I've spent the last day getting some
basics on .net but come from a unix background. I currently have a
site that needs to keep it's HTML file endings, I can't reconfigure
HTML to run as aspx on the server, and am looking to keep the existing
files where they are.
I've got a series of challenges to reconfigure stuff but I'm starting
with an easy first step. On each page there is a box to submit an
email. This used to just call up a perl script and post the email.
I now am on a .net box and from what I've read need to turn the page
in to an aspx page to make this work. I cannot and don't really want
to (aspx endings I consider user unfriendly) but I'm willing to let
the thank you pages be aspx endings, even if I prefer .html.
Now I know this is a tall order, first because I'm new to this and
secondly because, from what I've seen so far, .net wants me to work in
a way I don't want to (sorry, don't want to budge) but can anyone
offer a simple solution / example that I can use on this site.
Cheers
Stewart Dean

You can map any extension of file to be handled as an asp.net one. However
you can still have an HTML file like you do know and have it's FORM's action
post to an ASPX page. The aspx page sends the e-mail then directs the user
to an html thank you page. That way the user only ever sees two html pages
and no aspx ones.
Thanks for the reply. Sounds like the idea solution and nice to see
it's possible. Bearing mind I'm very new to this is here somewhere I
can see an example of this?

Cheers

Mar 1 '07 #3
On 1 Mar 2007 05:31:25 -0800, st******@gmail.com wrote:
Hi,

Before I start I'm a neebie and I've spent the last day getting some
basics on .net but come from a unix background. I currently have a
site that needs to keep it's HTML file endings, I can't reconfigure
HTML to run as aspx on the server, and am looking to keep the existing
files where they are.

I've got a series of challenges to reconfigure stuff but I'm starting
with an easy first step. On each page there is a box to submit an
email. This used to just call up a perl script and post the email.

I now am on a .net box and from what I've read need to turn the page
in to an aspx page to make this work. I cannot and don't really want
to (aspx endings I consider user unfriendly) but I'm willing to let
the thank you pages be aspx endings, even if I prefer .html.

Now I know this is a tall order, first because I'm new to this and
secondly because, from what I've seen so far, .net wants me to work in
a way I don't want to (sorry, don't want to budge) but can anyone
offer a simple solution / example that I can use on this site.

Cheers

Stewart Dean
You can still run perl on a windows box, and even get IIS to use perl to
process web scripts. Go to ActiveState.com and you can get a download that
will do all the configuration for you
--
Bits.Bytes
http://bytes.thinkersroom.com
Mar 3 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
5933
by: John Smith | last post by:
Hello, I have a rather odd question. My company is an all java/oracle shop. We do everything is Java... no matter what it is... parsing of text files, messaging, gui you name it. My question is this... is Perl so much better at parsing text files and outputing that we would see a substantial speed increase? We process about 10 million...
10
2472
by: Xah Lee | last post by:
i have a bunch of java files that has spaced-out formatting that i want to get rid of. I want to replace two end of line characters by one end of line characters. The files in question is unix, and i'm also working under unix, so i did: perl -pi'*~' -e "s@\n\n@\n@g" *.java but this to no avail. after many minutes of checking and...
5
2427
by: Premshree Pillai | last post by:
Hello, I recently wrote a Perl version of pyAlbum.py -- a Python script to create an image album from a given directory -- plAlbum.pl . It made me realize how easy-to-use Python is. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/271246
0
9734
by: Kirt Loki Dankmyer | last post by:
So, I download the latest "stable" tar for perl (5.8.7) and try to compile it on the Solaris 8 (SPARC) box that I administrate. I try all sorts of different switches, but I can't get it to compile. I need it to be compiled with threads. Anyone have any wisdom on how best to do this? Here's a transcript of my latest attempt. It's long; you...
21
34330
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most obvious of which is the sharing of files. For example, you upload images to a server to share them with other people over the Internet. Perl comes ready...
1
2750
by: megaman1 | last post by:
I’m trying to connect with perl DBD::Oracle on Windows to Oracle DB (Linux). I compiled the Oracle.dll using the commands “perl Makefile.pl” “nmake” and “nmake install”, but when I try to connect to the DB, I get the following runtime error: “R6034 an application has made an attempt to load the C Runtime library incorrectly. Please contact...
2
1965
by: IvanIV | last post by:
Hi All, I have trouble with embedding a Perl interpreter into a C program. I would like to replace some subroutine in a Perl script without changing this script from my C program. I need replace (override build-in function): print() and exit() functions. I know that in Perl script I can’t override print(), but for exit() function I can: ...
10
6933
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration of section c. Not sure where went wrong as the web page displayed internal server error. Also, what is the error 543? and error 2114....
1
47358
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click on a link and after a moment or two a file download dialog box pops-up in your web browser and prompts you for some instructions, such as “open” or...
0
7178
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7397
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7563
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7125
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7543
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5703
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3239
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
470
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.