Originally Posted by imran042
the default configuration document is in "/var/www/index.html.
the index.html file has a text,
"It works! This is the default web page for this server. The web server software is running but no content has been added, yet"
my apache2 server is running, but if i want to look a simple perl form upload script on my browser at local host, then how do i do it?
because, i am unable to move my perl upload script in /var/www. but, if i try to save the .pl file in /var/www/fileupload.pl from the commandline then, a message saying "write protected" displays. how so i see my script in the local browser?
Similar to your other thread, where you ask about this same question (although here, you provide more information).
You're getting that message, because the /var/www directory isn't owned by you, but apache and/or root. So, use sudo (or "su - root"), to get root privileges, then copy the file. Be sure to change it to be owned by the apache user. And I'm not sure what you're trying to actually ACCOMPLISH by 'looking at' a perl script via web browser. If you're trying to RUN that script, it needs to be in your cgi-bin directory.