Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: want to learn apache2

  1. #1
    Join Date
    May 2012
    Beans
    10

    want to learn apache2

    hello,, i am new to this forum,
    please i want to learn apache2.
    i searched for many sites but none of them i found working out for me.

    anyone who can guide for the site to learn apache2.
    i know html, perl and a little bit of c, and now want to learn apache2.

    waiting for reply

  2. #2
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: want to learn apache2

    Thread moved to Server Platforms.

    You might find the following helpful: https://help.ubuntu.com/community/ApacheMySQLPHP
    Forum DOs and DON'Ts
    Never assume that information you find using a search engine is up-to-date.

  3. #3
    Join Date
    Dec 2007
    Beans
    416

    Re: want to learn apache2

    The man pages for apache2 are helpful also. Is there anything specific you're looking for or just a basic intro to apache?

  4. #4
    Join Date
    Sep 2006
    Beans
    7,354
    Distro
    Lubuntu Development Release

    Re: want to learn apache2

    Like when learning anything else, it helps very much to have some specific goals in mind when starting. What is it that you would like to do with Apache2? Go from that.

    Otherwise, you could look at using content negotiation to make your site multilingual. You'd have separate files for each supported language. So instead of index.html you'd have index.de.html, index.en.html and so on.

    Or you could look at Server Side Includes to make standardized headers, footers, and menus without the pain, fuss and mess of PHP or other scripting. Be sure to use IncludesNOEXEC to avoid the overhead and security issues related to scripting.

    Those are just two examples. What do you want to do with the web server?

  5. #5
    Join Date
    May 2012
    Beans
    10

    Re: want to learn apache2

    i want to study apache 2 for uploading perl form-upload scripts, on the server.
    i have done html, perl a bit of c, and now my final thing is apache2(bcoz apache2 will be needed. after completing my perl form upload script, i need to upload on the web server and apache 2 will do it for me)

    waiting for reply

  6. #6
    Join Date
    Sep 2011
    Location
    London
    Beans
    Hidden!

    Re: want to learn apache2

    i want to study apache 2 for uploading perl form-upload scripts, on the server.
    i have done html, perl a bit of c, and now my final thing is apache2(bcoz apache2 will be needed. after completing my perl form upload script, i need to upload on the web server and apache 2 will do it for me)
    Hi Imran

    Not sure if you meant forms in general or uploads in particular ...

    Why not try this tutorial? http://www.seaglass.com/file-upload-pl.html

    If you're new to this, I'd recommend PHP instead of Perl, but why not do both and have your own opinion:
    http://www.w3schools.com/php/php_file_upload.asp

    Hope that's helpful.

    Kind regards,
    Jonathan.

  7. #7
    Join Date
    Sep 2006
    Beans
    7,354
    Distro
    Lubuntu Development Release

    Cpan

    Perl's a very good choice. I found it much more complete and polished than PHP, back when I used both.

    If you haven't already, take a look at CPAN's CGI::Simple and other CGI:: modules. With it you will be easily able to read forms data.

    Another approach to CGI is using HTML::Mason, which allows you to embed pieces of script in your web pages.

  8. #8
    Join Date
    Sep 2006
    Beans
    7,354
    Distro
    Lubuntu Development Release

    two tutorials

    Here are two tutorials. There are quite many others out there so if you have questions from one, they might be answered in others.

    http://www.tutorialspoint.com/perl/perl_cgi.htm
    http://www.cs.unc.edu/~jbs/resources/perl/perl-cgi/

    When working with form data, always assume that data coming from outside the program itself must be dirty and in need of 'cleaning'. See tutorials on perl's Taint module for an advanced treatment of data.

    If you work with databases, then always use Prepared statements with place holders. That will help protect against injection attacks and in many cases will speed performance.

  9. #9
    Join Date
    May 2012
    Beans
    10

    Re: want to learn apache2

    where is the cgi-bin located, or how do i find that it is there or not.

  10. #10
    Join Date
    May 2012
    Beans
    10

    Re: want to learn apache2

    where is the cgi-bin located, or how do i find that it is there or not.
    i am using ubuntu 11.04

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •