Adding Webserver

How can I add classic asp support to my webserver?


Support for ASP 3.0 is native to all IIS server versions from 4+. You simply start IIS and it works in its default configuration.

I have a webserver, how can I add a couple of lines of text onto a file that is served from the server?
...ie. to automatically add a couple of lines onto the page that served, I dont want to change the actual page. is there a way? what's the quickest way of doing it?

put

Im using Linux CentOS for a webserver and am having trouble getting rid of the Apache Welcome page? Pointers?
Im using Apache in CentOS (obviously if it comes installed) and i cant seem to get rid of that stupid welcome page when you go to localhost. Here is a copy of my config file (/etc/httpd/conf.d/welcome.conf): # # Options -Indexes # ErrorDocument 403 /error/noindex.html # It says to comment everything out but i have tried that plus adding a line like (DocumentRoot index.html) nothing works help? Can you pleae suggest another version of linux as a webserver?

You will typically have a 'www' folder for Apache. In there is the 'index.html' that you need to replace. Typically it's under /var or /home. Everything under /etc should be configuration files. Open a terminal and type 'updatedb', the 'locate www'. If it spews by too fast and you can't scroll up all the way type 'locate www |less' . If you get an error saying 'locate' is not available you need to install the 'slocate' package.

Creating ms exel spreadsheets and integrating it into a PHP doc for mySQL?
Hello, I am a noob with PHP but I do run and operate a mySQL database server. Basically what I am attempting to do is have microsoft excel spreadsheets on a webbased webpage so that I can add and calculate values from my webserver from anywhere in the world. It would make life wonderful for me, but I have no idea where to begin. Can someone help?

I'm a PHP developer, and I would never attempt such a task. Use gooogle docs Anywhere you have an internet connection, you can get your spreadsheets.

I have a web server set up at home but having problems with FTP?
I have setup up an old system I have as a webserver, I Have added FTP service to it. I have opened up all the ports the program asks me to on my router also I have disabled windows firewall. I can connect through the FTP but as soon as I try to open a file or transfer or anything I seem to lose connection or it tells me that the file i'm tring to select does not exist even though I can view it, The account I created to log in with has all the rights to modify create delete do anything to files. Please Help this is driving me crazy.

you also need to check that the folders you are copying files to and from have the same security priviledges as your (ftp) user account, its no good having full access as a local user because as soon as you log into it via ftp, you are essentially a different user best method depending on which platform ou use, is to create a new group account, add the ftp users to that account and give the folders the permissions to be used by that ftpusers group

Postgres - any way to prevent it from needing a specific host to connect?
Ok - I am builing a webserver. Fedora Core 9 running a LAPPstack setup. I have it running - but all the old scripts (written by other people) connect to the database using pg_connect("dbname=???_logs port=5432 user=???") But they dont specify a host=localhost. If I add the localhost to the string, it works - but I dont want to have to do that for all the scripst (as there are hundreds of them) - so my question is how to set up PHP/Postgres so it defaults to localhost, as the old server obviously did. Cheers,

I'm pretty sure the Postgres config file will let you specify the default host - MySQL does, if I remember right. If not, a php.ini setting for the postgres driver might do the same thing. If all else fails, you could try changing 'localhost' to a different IP in /etc/hosts, if you feel like living dangerously.

How do I add music to my web page?
I know the html code, but what I can't figure out is how to upload the audio file to my webserver. It is not a fancy webpage maker that comes with my hosting service, but it allows me to upload images and things, but I'm not sure how to upload an mp3 or wav file. Do I need a more advanced web page program to accomplish this?

It depends on what your host is. If your using maxpages then click Upload and browse the music file on your computer, then click the Page Features button and select the file name.

I have a website on a webserver that says HTTP Error 403.1?
I know that I needed to add the "IUSR_servername" to give permission but its not working still! Any input will be great. Thanks. Its on SBS 2003 but that should really matter ;-)

Execute access is denied/forbidden. •You do not have enough Execute permissions. For example, you may receive this error message if you try to access an ASP page in a directory where permissions are set to None, or you try to execute a CGI script in a directory with Scripts Only permissions. To modify the Execute permissions, right-click the directory in Microsoft Management Console (MMC), click Properties, click the Directory tab, and make sure that the Execute Permissions setting is appropriate for the content that you are trying to access. •The script mapping for the file type that you are trying to execute is not set up to recognize the verb that you are using (for example, GET or POST). To verify this, right-click the directory in Microsoft Management Console, click Properties, click the Directory tab, click Configuration, and verify that the script mapping for the appropriate file type is set up to allow the verb that you are using.

Why APACHE is forcing us to send email to Movie6.net website coordinator?
This is what you see>>>>> Hey, it worked ! The SSL/TLS-aware Apache webserver was successfully installed on this website. If you can see this page, then the people who own this website have just installed the Apache Web server software and the Apache Interface to OpenSSL (mod_ssl) successfully. They now have to add content to this directory and replace this placeholder page, or else point the server at their real content. ATTENTION! If you are seeing this page instead of the site you expected, please contact the administrator of the site involved. (Try sending mail to .) Although this site is running the Apache software it almost certainly has no other connection to the Apache Group, so please do not send mail about this site or its contents to the Apache authors. If you do, your message will be ignored. The Apache online documentation has been included with this distribution. Especially also read the mod_ssl User Manual carefully.

If you read the message carefully, you'll understand that the website is down. If a website is down, you can do either of two things. Go browsing somewhere else on the web, or contact whoever runs that website, and tell them that their site is offline. So you want to see movie6.net . It's offline though, so come back another day.

Where to store/upload an image from a web form? In the database table or on webserver/filesystem?
I am developing a matrimonial website where I require to store/upload images from users at the time of registration. I want to know what is the best approach to store/upload images for such a purpose, that is where to store/upload image, in the database table as BLOB data type or storing/uploading image in a separate folder/directory on web-server/file-system and and adding the location/details (text string) of the images to the database.? I am using Java, JSP, Servlets for programming and MySQL as database. Please also let me know if any other best methodology is there. I am also told that certain web hosts disallow uploading images into MySQL database. My host is GoDaddy.com.

i think its best to store your images on a separate folder and not in the database. I tried storing images in the database and they brought me issues!!! so i kept them in a separate folder, then created a path for images on the mysql database e.g. on the field of image there was the path:img/jane.jpg where img was the name of the folder.