Your Daily Source for Apache News and Information |
|
|
Apache XML Project |
Apache Project |
The Jakarta Project |
The Apache Software Foundation |
Apache Module Registry |
Apache-Perl Integration Project |
The Apache FAQ |
PHP Server Side Scripting |
The Java Apache Project |
ApacheCon |
Apache-Related Projects |
|
Linux Start |
All Linux Devices |
Just Linux |
Linux Apps |
Linux Central |
Linuxnewbie.org |
PHPBuilder |
Linux Planet |
Linux Programming |
Enterprise Linux Today |
Apache Today
|
Linux Today |
BSD Central |
BSD Today |
SITE DESCRIPTIONS |
|
|
Getting Started with Apache 1.3
Jun 1, 2000, 05 :24 UTC (176 Talkback[s]) (120986 reads) (Other stories by Ken Coar)
|
By:
Copyright © 2000 by Ken Coar. All rights reserved. Limited rights granted to Internet.Com.
Hopefully you know something about Web servers in general, and the Apache Web server in particular, or else you wouldn't be reading this page. This article isn't intended to give background on what Apache is nor why you should use it, but how to get going with it once the decision has been made. In other words, simply how to download it, and install it, and turn it on.
I should make it very clear right away that this article is about the latest released version of the server, Apache 1.3. It is not about the still-under-development 2.0 version. You'll have to wait for another article for that. :-)
The setting up of an Apache Web server falls naturally into a number of steps. Unfortunately, the steps differ slightly depending upon whether you're going to be using a binary distribution or if you're using Windows; the steps that may not apply are marked as 'optional' below.
-
Download the software
- [optional] Build the software (unless you downloaded a binary distribution)
-
Stop any currently-running Apache server
- [optional] De-install any existing Apache package (Windows only)
-
Install the new Apache software
-
Make sure the configuration is correct
-
Start the Web server
-
Customise your content
Before getting into the nitty-gritty, let's set up a little background. A lot of what follows is going to refer to files and directories and commands and locations and things like that, so let us be sure we both understand them to mean the same things.
An Apache server has at least two important directory trees, and possibly three. The first is where the server software lives (called the ServerRoot), the second is where the documents that get served to network visitors live (called the DocumentRoot), and the third is the home of the software sources (called the source tree). In many cases these all live in close proximity; if you install Apache from a package, the DocumentRoot might actually be a subdirectory under the ServerRoot, for instance.
For the sake of clarity, the rest of this article makes the following assaumptions about where things are on your system:
Directory tree |
Unix location |
Windows location |
- Apache source tree
|
./apache-1.3/ |
C:\Program Files\Apache Group\Apache\src |
- Apache ServerRoot
|
/usr/local/web/apache |
C:\Program Files\Apache Group\Apache |
- Apache DocumentRoot
|
/usr/local/web/apache/htdocs |
C:\Program Files\Apache Group\Apache\htdocs |
These locations will be used by all of the cd and other shell commands in this article.
Some formatting conventions used in examples in this article:
- '
normal text ' represents output from the computer.
bold text indicates what you need to type. Unbolded text shows output from the computer.
bold italicised text represents something you need to replace with your own value; for example, when following the steps in an example, when I came to "cd /home/username ", I would type "/home/coar " instead.
normal italicised text in brackets ('[' and ']') is used to represent commentary, such as "[lots of output here] ".
- In order to make long lines in this article fit within the width of your window, they may be arbitrarily wrapped. This is signified by one line ending with a slosh ('\') and the next line beginning with an open broket ('>'). For example:
% this is the first part of the line \
> and this is the second
You can run these split-up pieces together into the single line they represent, or, on Unix, you can actually type the '\' and hit Enter and type in the next portion when the system prompts you with the '>'. (This convention was chosen because it matches this Unix behaviour, and most Apache servers are run on Unix.)
The Apache Web server runs on almost every Unix-like system in the world, and quite a few systems that don't resemble Unix at all. It's supported on the server platforms of Microsoft Windows (such as Windows NT and Windows 2000), and runs--but isn't supported--on the Windows 95 and Windows 98 platforms.
This breadth of support means that, whatever you're running, you can probably use Apache on it. If you want to use Apache on something that isn't clearly Windows nor Unix, or you are otherwise unsure, check the resources in the 'Going Further' section of this article for places to inquire on how to proceed.
Since Apache is developed as an Open Source' project, you have a choice of either using a package that someone else prepared for your platform--if anyone has--or of downloading the source and building it yourself from the ground up. Of course, with the dozens of available platforms, there are sure to be some to which the Apache developers themselves don't have access, and so your options may actually be reduced to building the Apache Web server from scratch yourself.
Since different redistributors and repackagers have their own ideas about where to put files, the locations identified in the assumptions section may not be valid if you installed Apache from such a package. If that's the case, you'll just need to make the appropriate translations between the locations in this article and those on your system.
The latest and greatest released version of Apache is always available from the Apache Web site in the /dist/ location: <URL:http://www.apache.org/dist/>. If you look at that page, one of the first things you'll see is a link to a way of finding a distribution point, or mirror, that's closer to you.
The Apache Software Foundation only supports downloading using HTTP and the Web; FTP repositories are not provided. Mirror sites may or may not provide FTP access to their distribution areas. |
Exactly how you download the software depends on your Web browser, but it may be as simple as holding down the 'Shift' key and clicking on the name of the file.
There are two types of packages you can download from the Apache site:
- Packages containing only the Web server source code, and
- Packages containing the source code and a pre-built binary.
The source-only packages are located in the top directory of the URL listed above; the prebuilt binaries are located in subdirectories underneath the /binaries/ folder.
The Apache packages are named according to a formula:
- The word '
apache ', followed by
- the three-component version number (e.g., '
1.3.12 '), followed by
- optional suffix information (such as '
win32 ' to stress that the package is for Windows, or 'i386-whatever-linux2 ', which indicates a package built for Linux systems running on x86 hardware with a 2.* kernel version), followed by
- package-type information (such as '
.exe ', or '.tar.gz ')
A package that is missing the optional suffix information, such as 'apache_1.3.12.tar.gz ', is a source-only package. If you download such you will have to compile and build the server yourself from scratch. Packages that include the optional suffix have been pre-built for the named platform, but they also include the source code in case you want or need to rebuild the server yourself.
The version number is very important. It's read from left to right, and each component is treated as a number in its own right. So the package named 'apache_1.3.12.tar.gz ' contains version '1.3.12', which is pronounced 'one point three point twelve,' and is more recent than '1.3.9'.
In addition to the packages themselves, there are frequently accompanying signature files. These are used to verify that the packages were really built by the Apache developers, and have the same name as the package with either a '.asc ' or '.md5 ' suffix attached. To use these, you will need either something that can read and verify PGP signatures (such as PGP itself), or a tool that can generate MD5 checksums.
The MD5 checksum, if one is provided for the package, is easier to check. You simply use your MD5 checksumming tool to generate a checksum of the package, and then you compare that value with what's in the .md5 file. For example:
% md5sum apache_1.3.12.tar.gz
de3ccff384b0d4ab94c3251cb85d49d2 apache_1.3.12.tar.gz
% cat apache_1.3.12.tar.gz.md5
MD5 (apache_1.3.12.tar.gz) = de3ccff384b0d4ab94c3251cb85d49d2
The other signature type, which is replacing MD5 in the Apache distribution process, is a PGP signature. In order to check it, you will need to have loaded the PGP keys of the Apache developers (available on the Apache site at <URL:http://www.apache.org/dist/KEYS>) into your PGP tool. Verify the signature on the file using your PGP tool; for instance, like this:
% pgpv apache_1.3.12.tar.gz.asc
This signature applies to another message
File to check signature against [apache_1.3.12.tar.gz]: [hit Enter]
Good signature made 2000-02-23 23:14 GMT by key:
768 bits, Key ID A0BB71C1, Created 1997-06-03
"Jim Jagielski "
WARNING: The signing key is not trusted to belong to:
Jim Jagielski
(The last portion of the message simply means that you haven't marked Jim's key on your keyring as definitely being Jim's.)
PGP signatures provide more information about an Apache package. They identify whom of the Apache developers approved it, when, and that the package you downloaded is the same as the one the developer approved.
If either of the signatures don't match (that is, PGP reports an error or the MD5 checksum you generated is different from the one in the .md5 file), please report the problem to <>.
Also in the main distribution directory are some files with names starting with "CHANGES ". These describe all the modifications and bug-fixes that have been applied to the latest version found in the main distribution directory. If you're upgrading from an earlier version of Apache, reading through this file can be enlightening and informative.
If you download an Apache package, you get the source code -- even if you downloaded a binary distribution. This means that you can always rebuild the Apache binary if you need to (and have the appropriate tools installed). The exact method of rebuilding depends on your platform, but there are really only two different platforms for this process: Windows and Unix (or Unix-like).
If you want or need to build Apache from source, you can use the following commands as a quick-start. You should download the latest released version of the Apache tarball and unpack it into a working directory. The top-level directory will then be ./apache-1.3 , which matches the assumptions described earlier.
% cd ./apache-1.3
% env CC=gcc CFLAGS="-O2 -Wall" \
> ./configure --enable-shared=max --enable-module=most \
> --with-layout=Apache --prefix=/usr/local/web/apache \
> --with-port=80
Configuring for Apache, Version 1.3.13-dev
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
[more configuration output]
% make
[lots of compilation output]
% /usr/local/web/apache/bin/apachectl start
% make install
[lots of output describing file placement]
- Note:
-
You don't want to execute that last command if you already have a version of Apache running! It may fail and cause problems when trying to move files into a running environment. If you're already running Apache, stop the existing server first, with something like this:
% /usr/local/web/apache/bin/apachectl stop
See the section on shutting down Apache for more details.
|
If you didn't encounter any errors, you should now have a working Apache installation in the location that matches the assumptions described earlier. It's been built to work with dynamic modules rather than static ones for maximum flexibility. The next step is to start the server.
Unfortunately, this is a pretty esoteric area. Almost every flavour of Unix in the world comes with the tools necessary to turn source code into something you can run; but the same is not true of Windows. All development packages on the Windows platforms are add-ons, and there are a few possibilities. When the Apache developers began working on the Windows version of Apache, they decided to standardise on a single add-on development tool: Visual Studio C++ version 5.0 from Microsoft. So if you don't have a Windows development package, you can't rebuild the Apache software. If you have a different one than Visual Studio, how to get it to work with the Apache sources is a problem you'll have to solve yourself.
If, however, you have Visual C++ on your Windows box, then you can rebuild the Apache Web server from source either from a command line in a DOS window, such as:
C:\>cd "\Program Files\Apache Group\Apache\src"
C:\Program Files\Apache Group\APACHE\src>nmake -f Makefile.nt target
The target can be one of the following:
installr
- Build a fully-functional
Apache.exe executable.
installd
- Same as
installr , except that the executable is built for use with a debugger.
_cleanr
- Clean up the directory tree in preparation for doing a
installr build.
_cleand
- Clean up the directory tree in preparation for doing a
installd build.
Beyond that you're on your own, as building Apache on Windows is not exactly a 'getting started' topic! You can find more (possibly outdated) information on the Apache site at <URL:http://www.apache.org/docs/windows.html>.
On Unix systems, you use the apachectl script to manage the Web server. This script typically lives in the bin/ subdirectory under the ServerRoot. If Apache has been installed according to the assumptions made by this article, that means you should shut the server down with a command like this:
# /usr/local/web/apache/bin/apachectl stop
If this doesn't work, the alternative is to locate the master httpd process and send it a SIGTERM signal. However, if apachectl failed, you should check with someone about how to proceed -- not that there's any danger, just that it can be confusing unless you're familiar with Unix and process management tools.
On Windows, you can either stop a running Apache server process by choosing the Stop Apache item from the Apache Web Server programme group, or by issuing the following in a DOS window:
C:\Program Files\Apache Group\APACHE>apache -k stop
If you have previously installed the Apache Web server on your Windows system, it is a good idea -- a very good idea, in fact -- to uninstall it before upgrading, or even re-installing the same version.
To deinstall Apache from your system, choose the Add/Remove Programs control panel item. You should be able to get this from the task bar by choosing Start->Settings->Control Panel and double-clicking on the Add/Remove Programs icon.
Apache should be one of the applications available to remove. Select it, and click on the Add/Remove... button.
- Note:
- Uninstalling the Apache software this way will not remove your configuration settings. If you later install Apache in the same location, the new server will use the settings you had previously.
|
How you install the Apache Web server software depends on your platform and the type of package you downloaded. For example, the Windows installation is a simple point-and-click operation; for Unix it can be a little more complex.
This is perhaps the simplest option of all. Once you've acquired the RPM file (which you have to get from some other location than the Apache distribution site; the Apache Software Foundation doesn't distribute RPM files), you can just 'make it so' by being logged in as root and issuing the following command from the directory where the Apache RPM file is located:
# rpm -Uvh apache*
Of course, this may or may not install the source tree, and probably won't put files into the same directories as assumed by this article -- you'll need to find out the differences and make adjustments.
After you unpack the binary package, there should be a file named install-bindist.sh in the top-level directory. To install the Apache package, execute this script with a single parameter: the location of the ServerRoot you want it to create. For example:
# cd /tmp
# zcat apache_1.3.12-i386-whatever-linux2.tar.gz | tar xf -
# cd apache_1.3.12
# ./install-bindist.sh /usr/local/web/apache
This should install the binary and documentation as follows:
Directory tree |
Location |
- Apache source tree
|
Not installed |
- Apache ServerRoot
|
/usr/local/web/apache |
- Apache DocumentRoot
|
/usr/local/web/apache/htdocs |
In other words, with the exception of the source code, the script will install the Apache elements in the locations mentioned by the assumptions at the beginning of this article.
The source directory in the above example is still where you unpacked it, at /tmp/apache_1.3.12/src/ .
Installing the prebuilt package on Windows is a snap. Once you've downloaded it into some working directory (such as C:\TEMP ), just double-click on the package and away you go. By default, it will use the directories mentioned in the assumptions section of this article (that's why I assumed those particular locations), but you can change these during the installation.
- Note:
- It is generally a very good idea to remove any existing Apache installation before installing an upgrade. Go to the 'Add/Remove Programs' control-panel to remove any version of Apache that's already installed. Your configuration files will not be touched, so you'll be able to use them for the new version after you install it.
|
By this point you should have an Apache binary application on your system, just rarin' to go and start serving files. Before you actually turn it loose, though, you should make sure you've dotted all the eyes and crossed all the teas.
For a Windows installation, edit the conf\httpd.conf file under your ServerRoot directory. (Use whatever editor you like, as long as it creates normal text files as output; Notepad works just fine.) Look through the file for the word 'ServerName ' at the beginning of a line, and make sure that the second word on that line is a valid hostname or IP address (such as localhost , foo.bar.com , or 127.0.0.1 ). If it isn't, Apache won't start.
For the very best results, you should verify that the ServerName directive in your httpd.conf file matches your system's actual fully-qualified domain name. If your system is named "www.foo.bar.com", then that's what you should put on the ServerName directive line.
If your system is running Unix, you can find its fully-qualified name by simply typing "hostname " at the shell prompt. The result should look something like this:
% hostname
www.foo.bar.com
If it only displays a partial name (like "www "), you need to find out the correct domain name and put the two together.
If you're running Windows NT, you can find out your fully-qualified system name by going to the Start->Settings->Control Panel menu choice and double-clicking on the Network icon. Choose the Protocols tab, select TCP/IP Protocol, and click the Properties... button. Finally, choose the DNS tab. Your fully-qualified host name is the Host Name put together with the Domain value, separated by a dot.
The last thing to do before starting up your new Apache installation is to make sure it's configured properly. On a Unix system, you do this with the following command:
# /usr/local/web/apache/bin/apachectl configtest
Syntax OK
On Windows, you can do this by typing the following command in a DOS window:
C:\Program Files\Apache Group\APACHE>apache -t
c:/program files/apache group/apache/conf/httpd.conf: Syntax OK
If there's anything syntactically wrong with your configuration files, you'll get an error message describing the problem. But from a vanilla installation everything should be healthy.
Once the Apache software is ready to go, the next step is to actually activate it. The means of doing this differs depending upon your platform and how you installed it; for instance, if you installed an RPM package, there's a good chance that the installation automatically started the server as well.
Once you've done the make install , you're ready to actually start the server running. You do this on Unix with the following command:
% /usr/local/web/apache/bin/apachectl start
/usr/local/web/apache/bin/apachectl start: httpd started
There are two ways to start Apache on the Windows platform. One is to select the Start->Programs->Apache Web Server->Start Apache menu item, and the other is to do it in a DOS window:
C:\Program Files\Apache Group\APACHE>apache -k start
Actually, as a third method you can go into the services control panel and start the Apache servce, if you first select the Start->Programs->Apache Web Server->Install Apache&nsbp;as a service option first -- but I suggest that you leave that option for later, after you're assured that your server is running properly.
The very most important thing you should do before you turn the server on and let people start accessing it is:
CHANGE THE MAIN PAGE!
By default, following an Apache installation the main page in your DocumentRoot directory will say something reassuring -- to you -- about the success of the installation. It's sort of like the ReadMe.txt file you get to see after installing an application on Windows; it's just there to a) give the installer (you) a warm, fuzzy feeling that everything worked, and b) provide something other than a list of files to anyone who hits the site before it's ready. Unfortunately, there are a lot of people on the Internet that don't understand how the Web works, or the whole idea of clients and servers, and if they see that page saying 'Apache has been successfully installed!' they're going to think it's beein installed on their desktop system. Or, if you just upgraded an existing Web site, they're going to think the Apache Software Foundation has just invaded you and taken over your site.
So please, please, please replace the default index.html* file (or files) with something of your own, perhaps saying something like "Welcome to Joe's Web Pages. They're off getting dusted and cleaned right now, but they'll be back soon. Please come back in a couple of days!" Or something like that.
One way to do this, of course, is to modify the index.html.en file itself, since this is the one Apache will display by default. Another way is to create another directory somewhere, such as /usr/local/web/apache/realdocs (or C:\Progam Files\Apache Group\Apache\realdocs , if you're using Windows), put your own content files in it, and change the DocumentRoot line in your httpd.conf file to point to it. You'll need to change all occurences in the config file of the old htdocs directory to your new realdocs one, and restart the server after saving the file, but this is probably the cleaner solution.
If you didn't get any errors when you started Apache, hopefully that means it's running. Try it out; use a browser to access the default page: <URL:http://localhost/>. You should see a page declaiming that the installation was a success. If you don't, make a note of what you see instead, and the contents of the error log under the ServerRoot location, in the logs subdirectory. It's called 'error_log ' on Unix, but 'error.log ' on Windows. With that information, go search the Apache FAQ or other resources listed under Going Further. If all else fails, you can , but please try to find a ready-made answer elsewhere first!
Reloading After Changes
Whevever you make changes to the server configuration files (such as httpd.conf , they won't take effect until the server is restarted and reloaded. On Unix, the command to do this is:
# /usr/local/web/apache/bin/apachectl graceful
On Windows, the equivalent command (run in a DOS window) is:
C:\Program Files\Apache Group\APACHE>apache -k restart
Once you've got your Apache Web server up and running, the first hurdle has been surmounted. Now you can move on to exploring its capabilities and features. Here are some pointers to resources for further investigation:
- The main Apache Web site, of course: <URL:http://www.apache.org/>
The documentation for Apache and its modules: <URL:http://www.apache.org/docs/>
- The canonical email response page: <URL:http://www.apache.org/foundation/email-response.html>
(This page is normally used to respond to email requests for support, but there are lots of good resources listed on it.)
If you want to get the Apache Web server up and running, it's really quite simple; most of the hard part has been pre-configured for you. Follow the instructions here and you should be able to start serving simple pages in a matter of minutes.
Got a Topic You Want Covered?
If you have a particular Apache-related topic that you'd like covered in a future article in this column, please let me know; drop me an email at <>. I do read and answer my email, usually within a few hours (although a few days may pass if I'm travelling or my mail volume is 'way up). If I don't respond within what seems to be a reasonable amount of time, feel free to ping me again.
About the Author
Ken Coar is a member of the Apache Group and a director and vice president of the Apache Software Foundation. He is also a core member of the Jikes open-source Java compiler project, a contributor to the PHP project, the author of Apache Server for Dummies, and a contributing author to Apache Server Unleashed. He can be reached via email at <>.
|
|
Talkback(s) |
Name |
Date |
|
know how
Apache Server is based on UNIX based systems or LINUX based systems
What is the most convinient coding tool to create web pages with APACHE Server?
Can we get the preview as in IIS 5.0 or PWS ?
is Perl the only means for creating dynamic web pages on Apache server?
i would like to know more about Apache server
How good are the job prospects if i think of studying Apache Server
and related topics?
please let me know the copmanies who work 100% on this platform
as i am a C++ program with OS as UNIX and RDBMS as SYBASE
waiting for reply
thank you
milind (INDIA) |
|
|
Jun 4, 2000, 03:29:24 |
|
Re: know how
> Apache Server is based on UNIX based systems or LINUX based systems
Actually, Apache runs on Windows as well, and the Macintosh OS X, and..
It's not just a Unix thing any more.
> What is the most convinient coding tool to create web pages with
> APACHE Server?
That's a matter of opinion. Some people like Front Page, some like
Netscape Composer, some like writing HTML by hand. I fall into the
latter category and have never used any of the authoring tools, so
I can't answer the question from experience.
> is Perl the only means for creating dynamic web pages on
> Apache server?
Certainly not. There are a lot more sites using mod_php for
dynamic content than there are using mod_perl. There are also
the Java servlet tools, and of course mod_include.
> i would like to know more about Apache server
There are any number of good books. See
Apache Server for Dummies and Apache Server Unleashed,
for instance (books with which I've personally been involved).
> How good are the job prospects if i think of studying Apache Server
> and related topics?
Go to a job posting site and search. There are quite a few openings
that want Apache experience, but not as many that involve only
working on Apache.
#ken P-) |
|
|
Jun 4, 2000, 19:28:18 |
|
JSP on Apache
Please someone help me on this...
I could not display .jsp page through Apache. I don't know what configuration should I set.
Please help.. I'm stuck on it.
Thanks. |
|
|
Aug 8, 2000, 15:45:04 |
|
Re: JSP on Apache
i am also stuck and could not show page with extension *.jsp with apache and tomcat
.configuration??????? |
|
|
Nov 3, 2000, 16:52:31 |
|
|
Feb 7, 2001, 11:23:29 |
|
Re: JSP on Apache
You need to install Tomcat(download from apache site) and configure apache to work with tomcat. |
|
|
Feb 21, 2001, 06:43:42 |
|
Re: JSP on Apache
I think,you need a web server with servlet engine like tomcat.then use tomcat just to run jsp and apache for html only. |
|
|
Mar 3, 2001, 03:26:25 |
|
Re: JSP on Apache
Hi,
I've see your question on Apache Web Site.
You had a JSP/Apache Problem last year.
I have now the same problem as you.
Could you help me, thank you very much.
Vero. |
|
|
Mar 6, 2001, 17:15:06 |
|
Re: JSP on Apache
apache on its own can't handle any jsp or servlet request, we need to configure some plugin for apache to handle these, the best plugin i encounterd is tomcat, u can download from the site www.jakarta.apache.com.
Bhanu
Visit At : http://www.bhanun.com |
|
|
Apr 2, 2001, 03:30:42 |
|
Re: JSP on Apache
If you are using tomcat, it is very easy to do:
-Follow the instructions provided in the tomcat documentation in:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html
The process is this:
Copy the mod_jk library to the appropiate directory
Edit the httpd.conf file and add the following at the end:
- Include TOMCAT_HOME/conf/mod_jk.conf-auto
That should do it.
|
|
|
Apr 20, 2001, 17:04:04 |
|
robot.txt and white screens
I would like to know what the robots.txt file is? Also Apache is not displaying my web pages right anybody who hits my site at www.theedge2k.com sees nothing but a blank white screen no matter wether they are trying to access the site on the internet or my lan, yet i can view the web pages fine in my web page editor> |
|
|
Feb 8, 2001, 18:27:56 |
|
Help Removing and redoing
I have on numerous occasions type rpm -i apach* and have even downloaded the tar file and installed them in the /home/ /apache dir's. Now and this goes to figure Apache and myself are extremely confused when runtime is there.
I also used comanche to configure it without much success actually. Any suggestions short of formatting and reinstalling linux?
When I get it cleaned up I would like to use apache to administer my web page. I have a domain name of will that work there is now www before it?
I run linux-mandrake 7.2
PacSmell DSL
Linksys Router
Thanks
Rastar
|
|
|
Feb 8, 2001, 19:51:31 |
|
Individual User Website's
Hi, I have users who can ftp/telnet into my box, with their own login/pass (a shell account) how would I go about giving each user their own web page such as a public_html so users would get a http://www.mydomain.com/~username/ site? Can apache do this? If yes, how? |
|
|
Feb 10, 2001, 09:48:11 |
|
Apache and JSP
I am a student of Bcs and i want to know how to configur and relate apache with jsp. plese help me as soon as possible.i am very great full of you. |
|
|
Feb 12, 2001, 23:31:14 |
|
Re: Apache and JSP
Hi , you will have to use TOMCAT as either in a stand alone mode or with Apache . |
|
|
May 31, 2001, 21:26:16 |
|
|
Feb 15, 2001, 15:22:45 |
|
How to set up the .qmail-default file on Apache Server 1.3.12
I am totally new at this but my host has given me full access to the portion of the server where my site is housed. I need to start creating my aliased mail account in there and the extent of what my host told me was to open .qmail-default in Notepad and edit it with the aliases...etc. How do I go about putting that stuff in there...I am confused... |
|
|
Feb 15, 2001, 19:25:25 |
|
Max Clients
I need to change the default of 256 clients. I know its in httpd.h and you change the Hard Server Max or somthing like that, dont have it in front of me.
Question do I have to recompile the whole server again or does anyone know a trick, perhaps hex editing a paticular file or somthing less drastic then recompiling the whole thing.
Thanks
Jill |
|
|
Feb 17, 2001, 05:21:17 |
|
Re: Re: know how
> is Perl the only means for creating dynamic web pages on
> Apache server?
Certainly not. There are a lot more sites using mod_php for dynamic content than there are using mod_perl.
I would like to mention that there are almost definitely more sites using PERL than PHP, however. Mod_perl is only used on a scant percentage of Perl using hosts, and isn't indicative of its use. (Although I've become a PHP junkie more and more, lately) :)
-- Matthew Keller http://mattwork.potsdam.edu/ |
|
|
Jun 12, 2000, 12:42:27 |
|
Domain Name Help
I have http://localhost/ working for my Win32 version but how do I change it to something like www.mycompany.com or http://mycompany.com? |
|
|
Aug 15, 2000, 23:20:28 |
|
apache
hello
please provide me the installation information of apache web server on linux6.0/6.2/7.0 and also configuration of apache on linux.please also provide me the configuration of apache with tomcat for using java server pages.
thanking you
ajay agarwal
[email protected]
|
|
|
Feb 17, 2001, 06:37:53 |
|
Re: Domain Name Help
Oh boy, that's one heck of a question. Unfortunately, you have to spend some money. The first thing you have to do is buy a domain name (like mycompany.com). There are several registrars on the internet that you can purchase it through. The second thing you have to do is find hosting for your server, so that it can be accessed 24/7 through the internet. If you're insistant on using your own server/apache installation, you will have to get your server co-located (connected to someone else's network). There are many businesses that will do this for you -- for a price, usually a monthly fee. It's hard to get all of the information across necessary to set up a complete, working web site in one message, but I'm sure that if you find a hosting service on the internet, they'll be more than happy to tell you how much and what for they're billing you.
>I have working for my Win32 version but how do I change it to something like
>www.mycompany.com or http://mycompany.com? |
|
|
Aug 18, 2000, 05:13:04 |
|
Re: Domain Name Help
you should change it in "ServerName localhost" to ServerName yourname
and you have to add anew dns name in /etc/host
good luck |
|
|
Feb 23, 2001, 04:19:24 |
|
Re: Re: Domain Name Help
Hello,
I read your message replying to Chris concerning above matter.
My reason writing you is because I am also facing the same problem as Chris(except that I already have a DNS name registered).
I would appreciate if you could tell explain further as why must we find hosting company or co-located when we already have our own server.
In this context, please correct me if I am wrong, I assume they must have also 'pay' another co-located or hosting company to get their web page on the net.
Appreciate if you were to reply.
Thank you.
Terry SOH |
|
|
Oct 18, 2000, 04:58:34 |
|
Re: Re: Domain Name Help
That is not entirely true,
you can setup Virtual Hosts that point to the same IP address.
Brent |
|
|
Mar 13, 2001, 02:18:49 |
|
Re: Re: Re: Domain Name Help
I think actually you don't need co-located server to have actual domain name. That may be too expensive. The cheaper way is to host your own server and have it connected to a cable modem or DSL which is a lot cheaper than co-located. Then you can use those Dynamic DNS service to have it pointed to you server at home. Might want to find more info at practicallynetworked.com |
|
|
Feb 15, 2001, 19:15:26 |
|
Re: Re: Re: Domain Name Help
Whoever that was that answered the first guys questions on how to get his http://localhost to something like www.sybergate.com. For one thing you DO NOT need to pay some company for hosting or co-located. You can use your own isp and the apache web server especially if your on an isp such as cable thats already online 24/7. If you already have a domain say thru network solutions as i do such as www.sybergate.com and you want to host it yourself you can because i do it myself. You can either configure you computers domain name to be the same as the information in the config file of the apache software. I have a domain thru network solutions, so you can go to their web site and fill out a form and give them your dns info and admistration info of your isp so it will point to your computer instead of it pointing to a internet web hosting company. Whoever the person was that says you need to go out and spend all kinds of money and go thru this and that business to get it done has no idea what he is talking about and better go back and rwad up on networks and such. |
|
|
Jun 6, 2001, 03:16:06 |
|
Apache configuration
can anyone explain me how to configure an apache server on a linux machine?
i wanna make it an intranet server for the begining
- the httpd is running
- ServerName is 192.168.1.xxx but i cannot see it in a browser with address http://192.168.1.xxx/ or http://localhost/
-i also have samba installed and working...
any help will be useful,
10x,
cr
|
|
|
Feb 26, 2001, 10:31:22 |
|
Apache + Bluestone
I want to know how to work Apache webserver with Bluestone application server.
Is there any resource for connecting apache - Bluestone?
Any help will be deeply apreciated. |
|
|
Mar 1, 2001, 21:58:15 |
|
mod_fastcgi
I did not get any thing related mod_fastcgi. |
|
|
Mar 5, 2001, 21:48:15 |
|
Location-Linux
Hi,
Your's site is very much helpful, even i didn't have that much exposure to apache, i got it in your site but I've installed redhat linux into my Tecra8000 machine, and also i've choosen redhat linux 7.0, i heard about the apache server is coming along with that, so i want to know where should i look for
apache stuff in this installation.
Please guide me and also suggest me is there is any place to get the related source.
Thanx in advance. |
|
|
Mar 7, 2001, 21:29:13 |
|
|
Mar 9, 2001, 10:18:57 |
|
IIS and Apache
can you use microsoft iis and apache together so that you have only one web server. any ideas on how to cet it up and what to configure ???
thanks in advance |
|
|
Mar 9, 2001, 11:20:58 |
|
Re: IIS and Apache
Yes and no... Obviously you can't have the two servers bonded to the same port, but you are able to keep them both running at the same time. I'm doing that on my Win2K box:
Apache runs the webserver, and serves the bulk of my pages off port 80.
I run IIS for the FTP site and an administrative http:// site to allow me some control over the box, as well as manipulations of my FTP sites (I run an anon ftp site some times to allow users to upload files to me, so when I need it, I log into the Admin site, turn on my anon ftp, set to 1 user at a time, and let my customers upload. When they're done, they call me, and I turn it off - through the http:// interface on IIS's Administrative Web site). Just run your IIS stuff off an alternate port (or Apache on something else), and you should be fine. When two services bond to the same port is when you're going to have trouble. |
|
|
Mar 12, 2001, 18:04:56 |
|
help needed in apache
Iam a newbie using apache.Iam using apache to
> host
> > our company's training plan on our intranet under
> > win95 environment.The training plan consists of
> > several html pages and ppts.The requirement now is
> > that to provide access control.That is we have two
> > groups of trainee batches accessing the same
> > training
> > material.The second batch should not see certain
> > pages
> > meant for the first batch.
> >
> > After reading thro the apache documentation,i
> found
> > that we can have directory/file level access
> control
> > based on the IP address of the machine requesting
> > the
> > web pages.The problem is that i don't want the
> > access
> > control to be based on the IP address because our
> > trainee machine's IP address keep changing
> > frequently.
> >
> > Can i put the second trainee batch into some sort
> of
> > a
> > logical group(based on the login username or
> > something
> > similar to that) and check in the apache server
> > whether the request is coming from a machine
> > belonging
> > to that group and enforce access contol,or is
> there
> > any other better,secure method.
> >
> > Pls do help me and sorry for the disturbance
> caused
> > if
> > any.
> >
> > Thanx in advance,
> > Alfred
> >
> |
|
|
Mar 10, 2001, 11:30:29 |
|
apache problems
first time i had a Linux Mandrake 7.0. I configured an apache there and everything worked fine, but then i installed Mandrake 7.2 distribution. Config files are the same now (as they were in Mandrake7.0), apache runs without reporting any errors, but nothing works.
I tried "http://localhost", "http://127.0.0.1" in konqueror, lynx, NN4.7 but it failed to show a startpage (# hostname says localhost). I tried with DocumentRoot in default and with my own set (/web/www and /web/cgi-bin for CGIs). What could be a problem?
I've got some problems while bootin' ("amd forgot to set AF_INET in udp sendmsg. FIX IT!" - how?; failed to start lvs) and "stopping md [failed]" while shutdown. Could this things prevent httpd to work correctly? |
|
|
Mar 11, 2001, 12:44:22 |
|
|
Mar 12, 2001, 23:24:34 |
|
apache as proxy
I just downloaded Apache last night and installed. Was wondering if there is a way to configure it to trigger windows DUN to autodial out when it receives an http request from a pc on my network. I am running it on WinNT server 4.0 with sp6 installed. thanks |
|
|
Aug 27, 2000, 18:24:53 |
|
DNS name
The person was not correct,
you can also set up virtual hosts that goto the same Ip address.
I aggree totally ,
if the case was to pay someone else to host , then have a server....this is the whole idea of setting up a server. |
|
|
Mar 13, 2001, 02:22:58 |
|
UBB on Apache
I tried to get a UBB (Bullitin Board) to work on IIS, it didn't, and i was told apache would run it with no extra's or configuration etc.
i got apache for win2k and it hosts a webpage perfectly, only no-boards
i have made sure IIS is disabled, and followed the install instructions for the UBB
i can't seem to get CGI or .pl scripts to run, to install and configure the server though.
PLEASE can someone help me, it's really bugging me, and after a week of trying, i still can't get it to work.
|
|
|
Mar 13, 2001, 21:55:58 |
|
how to run servlet on ApacheServer
Sir,
I am using apache frist time getting diffculties in servlet on the server
Please let me know where i should keep my servlet codes in the server.
Thanking you
Ruchita |
|
|
Mar 16, 2001, 07:44:33 |
|
Re: how to run servlet on ApacheServer
1.install apache.
2.in httpd.conf give the server name as "local host" (Dont forget to remove the
comment ie. # symbol
3.You need an adopter for servlets.(ex.jserv)
4.compile the code.place the .class files of your servlets in the directory
called servlets.
5.in address bar give http://localhost/servlet/servletname(.class name)
contact:[email protected] |
|
|
Mar 24, 2001, 14:02:01 |
|
faq
Dear sir
this is very nice documentation
thanks
|
|
|
Mar 23, 2001, 06:27:36 |
|
How to FTP to my computer
I've got the apache server running on my win 98, I would like to know how to ftp to it. Can you point me to docs or other information sources I can read more about this?
Thanks for any help you can give.
Gavin |
|
|
Mar 26, 2001, 14:21:00 |
|
permissions for web directories
I have Apache 1.3 on Linux, and my website content is listed in /var/www/html
What is the most common method of ownership for these directories? Set them as root, or create a group called webadmin, or what? |
|
|
Mar 29, 2001, 21:58:25 |
|
|
Sep 7, 2000, 02:20:03 |
|
I need help getting started... please help...
I've just installed RedHat Linux 7.0 as a server system. It comes with Apache... and I've configured the httpd.conf file to reflect the appropriate address and domains and such. I've also gotten my internet connection (768/768 sdsl) set up... with a static ip.
I try to access the main page by entering http://my.ip.address.blah but it wont show anything... but I noticed that when I do try to access the server, my Bridge/Modem blinks, obviously saying that it's working...
Could someone show me what the problem could be? Thanx
|
|
|
Mar 30, 2001, 19:00:47 |
|
How to ENABLE CGI?
I had installed Apache and it works well. But, I can't enable the CGI function. So that I can't run CGI on my server. T_T, Can anyone help me? How to enable it. I had tried many times, it shows 404 error only. |
|
|
Apr 4, 2001, 11:38:18 |
|
Removing Port Number from URL
I have apache installed and running on a Sun UNIX box. The problem I have is changing the URL name. i have to type this to get to my home page: www.myurl.com:1393. How do i change this to www.myurl.com with not port number? thanks,
steve |
|
|
Apr 9, 2001, 14:45:50 |
|
Internal error 2755. 1632
Tried installing Apache - doube clicked apache_1.3.19-win32-no_src-r2.msi, filled in all it asked - it abends with Internal error 2755. 1632. Any pointers? |
|
|
Apr 10, 2001, 12:09:45 |
|
Apache can be used both for CGI and Servlets
Hi,
we have Apache server installed on solaris 2.6 and currently we are using CGI-Perl scripts on it. Now for some specific requirements we also wants to use Servlets.
I know that I can use servlets on Apache by installing Tomcat or Resin, but wants to know can we use CGI-perl and Servlets simultaneously on Apache???
Pl. advice if someone know this.
thanks in advance....
|
|
|
Apr 12, 2001, 15:20:36 |
|
|
Apr 17, 2001, 01:29:51 |
|
Intergration of mysql,php and winme
I am new user implementing a test database to process examinations at my university. I was wondering if anyone has intergrated PHP4 , Mysql on Windows millenium with apache as a web server.I would appreciate any information on how to do this and some of the bugs.
Thanks,
ndumiso. |
|
|
Apr 17, 2001, 10:09:34 |
|
Valid hostnames
Hi you all!
I had a problem with an Apache 1.3.12 (IBM HTTP Server). The same programs are running with different hostnamens on a test machine. Now I'm trying to make them work on a porduction machine.
Are there hostnames limitation such that "ita_news.alfawassermann.it" it is not a valid hostaname, while the test amchin uses vhost3.ritram.it an this is working good?
Plus, on the production machine, the site "console.alfawassermann.it" it's working good too.
So it's possible that "_" it's not a valid charachter?
Thank you, Carlo |
|
|
Apr 19, 2001, 12:19:25 |
|
apache server for windows
Dear sir,
I was using caltiger.com free internet connectivity using apache server. My Home pc is a Pentium I - 120 mhz processer with l.2 GB harddisk and 16 MB RAM. I was using Windows 98 and since it was taking more space, I formatted my disk and installed Windows 95. I am having another internet with eth.net connectivity through pop3 server in mail and mstp server for out mail. Now my out mail is not going at all. My connectivity through Caltiger.com is all completely cut since I was having trouble with Apache server. Please help.
Yours truly, RL NARAYANAN |
|
|
Sep 11, 2000, 08:44:42 |
|
APACHE AND OS X
I'm trying to install and configure Apache 1.3 on an iMAC that is running OS X. I've been reading that this is possible using a terminal window that runs BSD Unix. So I should be able to follow the steps above in installing Apache on Unix systems right? Can someone please confirm this? Thanks. |
|
|
Apr 21, 2001, 02:13:39 |
|
|
Apr 21, 2001, 08:58:47 |
|
HELP AND ADVICE WANTED
Hello,
Can anyone kindly help me to download "APACHE" webserver and install it to use it?
I went to the mirror sites for downloading but don't know how to download it.
Such mirror site is:http://www.flirble.org/apache/dist/
I have no experience with this sort of downloading.
I have downloading softwares before on the internet but normally these softwares' files get downloaded in one package such as on my C:\Program Files
or in .zip files which come onto my desktop where I unzip the files.
But this new experience of downloading is driving me crazy.
I completetly have no clue what to do.
TThere seems to be a lot of links or maybe they are files which I need to click on each and evryone of them to download?
How can I download all these (if all these files are necessary) in 1 go rather than 1 by 1?
And how can I know which files are required or necessary and which files are optional and have nothing to do with the running of the webserver?
Please, someone help me. I am new on the internet and am having trouble understanding all this on:https://apachetoday.com/news_story.php3?ltsn=2000-06-1-001-01-NW-DP-LF#downloading
where it gives information to download but the tutorial was actually created for techno-wizards and not an ordinary person.
Thank You
Ali |
|
|
Apr 26, 2001, 12:15:48 |
|
HELP AND ADVICE WANTED 2
Hello,
Can anyone kindly tell me whether APACHE freeware webserver is for just creating my own website on my own computer or can I give out free webspace to other internet users who can create their own websites from their own computers that will be hosted on my computer as APACHE would be installed on my computer?
Will they have browser interface web creation tool.
I mean can I give them a "File Manager" where they can log in to their accounts and create, edit, delete, move, upload files and images, etc.?
If "APACHE" is not for such. Can anyone tell me if there is a freeware that deals in such or even a shareware?
Any helps appreciated.
Thanks
Ali |
|
|
Apr 26, 2001, 12:23:17 |
|
user public_html qns
I was wondering how do i make my apache add a "/" at the end of
for eg. http://www.here.com/~user <-add a "/" here.
rather then asking the users to remember to give their homepage address with as in
http://www.here.com/~user/
My apache server is setup with mandrake 8.0, and no change in conf files, but it jus can't work for the users directory without a "/" place at the back.
how do i slove this problem? |
|
|
Apr 27, 2001, 12:46:36 |
|
Apache for Sun
I want to install Apache for Sun so please send me the URL on the site.
shailesh |
|
|
May 3, 2001, 12:12:35 |
|
Perl Setup
I'm trying to setup Perl with Apache but am lost. I've read the documentation for Apache and mod Perl but still am without direction. I'm running Apache under Windows 2000. What do I need to do to get this running for my websites using Apache? |
|
|
May 3, 2001, 20:30:59 |
|
Exchange2k OWA Apache
First of all, I am new to Apache Web Server. I have been using IIS for 4 years now and I am tired of the security holes in it! :) So, I am moving to Apache. There are several things I need help on, some which reading the docs will explain. Any help here would be great as well.
1. I am using Exchange 2000 with the OWA client (Outlook Web Access). Is there way to use OWA under Apache? Presently, the only option I found is to run an Intranet Site for OWA on the IIS server and Apache on the Internet Site.
2. I host web sites that users use FrontPage. Presently this is supported by IIS. I understand all that is needed is to download the module and add it to the apache list. Is this correct?
3. This works along with question number 2. I am still a bit confused on security. I am use to NTFS permissions on security folders and so forth. What is the process of securing directories under Linux/apache? How does this work with FrontPage access and the latest creation of WebDAV?
4. Last question, in the past, I have seen when a user logs in via FTP it goes directly to their home directory instead of the /root. This is different for each user that logs in. Where is this configured?
Thanks again for all your help.
|
|
|
May 10, 2001, 14:50:44 |
|
|
Sep 13, 2000, 10:38:58 |
|
help : apache - weblogic getting synched??!??!
where are the config issues at either end, ie weblogic/apache to get them running as applicaton/web servers respectively!!
am able to link to my apahce (ie html files) but am not able to touch base with my servlets in weblogic!!!!
what next?and where next?? |
|
|
May 15, 2001, 15:42:31 |
|
Reason after reinstall
I have an apache 1.3 installed previously. After I download
a higher version, I installed it and found that some of the
configuration is lost. So I unstall the new one and reinstall
the old version of Apache. The configuration file is recovered
using the backup file. But when I open the default website, it
return to let me choose a place to save the downloaded file,
just as downloading a file using HTTP from website, and the
file is index.html, actually what is to be displayed. And on
the top of the save as dialog it read:
save as (TYPE application/x-httpd-php)
But I cheched the httpd.conf and add the line
AddType application/x-httpd-php .php
AddType application/x-httpd-php .html
AddType application/x-httpd-php .php3
and it still don't work!
who can help me on this problem?
Thanks a lot! |
|
|
May 16, 2001, 16:30:53 |
|
Can't view with Netscape
Morning all
I recently set Apache 1.3 up at work. Our LAN, others can view my site with IE, but with Netscape, all we get is a "Host contacted, waiting for reply..." for the 300 seconds I set up in httpd.conf, and then Netscape pops up the window saying that the connection was reset by the peer. If anyone has any suggestions concerning why Netscape will not view the site (it works on my machine, since I'm running the server), and how I can get it to do so, since we are migrating to an entirely-Netscape environment soon, I would appreciate it, and I might even get to keep my job.
John T. Cyr |
|
|
May 18, 2001, 13:34:41 |
|
Installing Apache
I have the 1.3.6 version for Windows 98, I am able to get the server on localhost, but how do yuo host a domain name? I have one registered but i can't figure out how to host it. I would save me a lot of time if someone knew how...
Magriep |
|
|
May 21, 2001, 00:04:39 |
|
|
May 23, 2001, 07:21:30 |
|
Unable to get Apache to work.
I have recently installed Microsoft's PWS on my computer, and decided Apache would be a better choice. So I left it on and got Apache. I can get my PWS site to work, but not my Apache site. I know very little about servers, and was wondering what I can do to get my site up and running on Apache. Any help would be greatly appreciated. |
|
|
May 28, 2001, 06:54:57 |
|
|
May 30, 2001, 13:14:31 |
|
Problems with Apache
I'm using Apache for Windows under Windows 2000. When I want to acess the serv er with my Browser, i see a
Access Denied
File not found or access denied
error. I have not change any settings in any config files, and the server is running. Can anybody help me, please? |
|
|
Jun 2, 2001, 17:39:48 |
|
change index,html default.
HI,
does anybody know how to change the index.html default ?
I am using php and want my "home page" to be a file with php extension.
is it possible ??
Thanks
Ofer. |
|
|
Jun 6, 2001, 08:12:25 |
|
Authetication
I have installed apache web server on Linux and one more on Win NT. I have protected some pages with password using the .htaccess file. I wish to send information i.e. user id and password to a servlet after the authentication is successful. The servlets are running in Tomcat as the servlet engine.
I would highly appreciate if any one can throw light on this.
Vikranth |
|
|
Jun 7, 2001, 04:32:48 |
|
Apache Configuration
hello evry one,
I have recently locaded linux and want to configure Apache on the local network as proxy and also as a web server. Can ne one help me plse
Thanks
|
|
|
Jun 20, 2001, 05:57:03 |
|
.htacess
I am a new user trying to use .htacess to protect some directories and files.
There are some many documentations to read. Can someone kindly help to provide a simple straight forward answer.
Thks |
|
|
Jun 22, 2001, 03:50:06 |
|
How to find out my IP addr in Linux (using DHCP)
Hi,
I have installed Linux-Mandrake 7.2 and Apache 1.3 on it.
If I enter the 127.0.0.1 I get the xpected index page from apache, so I know it is running properly. I Installed the Linux box in a home network and it is getting it's IP address from a DHCP server (router). I need to find out what is the IP address assigned to it. On a windows enviroment I use IPCONFIG, what shuld I do to find out what IP address was assignet to it?
Thanks |
|
|
Jun 25, 2001, 14:13:17 |
|
Starting problems !!
I cant start my apache to work in my Windows, i always get "Apache server shutdown initiated..." error message after i tried to start my apache. Can anybody help me please !!!!!! |
|
|
Jun 29, 2001, 21:47:56 |
|
Apache on sun
I'm studying on apache web server and looking for apache on sun OS.
Is there apache on sun and where can I download it?
Thank you. |
|
|
Sep 17, 2000, 02:28:45 |
|
Re: Apache on sun
> I'm studying on apache web server and looking for apache on sun OS.
Is there apache on sun and where can I download it?
Thank you.
Go to www.sunfreeware.com |
|
|
Oct 4, 2000, 14:32:09 |
|
Re: Apache on sun
I suggest that you go to www.apache.org and download and build the files. I've currently just built Apache 1.3.14 on a Sparc/Solaris 2.6. It's a very custom build but it's not all that hard to do. |
|
|
Oct 23, 2000, 17:01:32 |
|
apache on aix
Are there any caveats re/ installing on aix?
Any common problems or recommended procedures other than the tutorial?
Thanks
bill |
|
|
Sep 18, 2000, 21:14:27 |
|
Apache with fronpage Module
Hi,
This installation is very helpful to me.
But I was wondering, if there is anyway you are going to
have some help apache with Frontpage and PHP and SSL.
I install the apache 1.3.12 properly and when I install
the one with apache with fp then it installs the apache again with fp extensions. Then again now I want to install the PHP, I am afraid same thing
will happen. Isn't there anyway these other things can be installed and then
confugured to work with the preinstalled Apache. If so how. Please help.
Believe me there will be a lot of people who will be beniffited.
I hate Frontpage but what can I do, customer wants it.
Please help!
Thanks
Jahanur |
|
|
Jun 7, 2000, 03:19:39 |
|
CGI-Scripts don´t work!
Hi!
I just downloaded the Apache server, installed and configured it. Everything works except of any cgi-scripts. Every time I call a cgi-script I get this msg:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request."
And this is in the error.log:
"(2)No such file or directory: couldn't spawn child process: e:/servers/apache-web/cgi-bin/test.cgi"
But the file and the directory exist!
Do I have to configure the apache-server for using cgi-scripts? How?
Thank you for help! |
|
|
Oct 1, 2000, 10:41:26 |
|
Re: CGI-Scripts don´t work!
You didn't mention what OS you are using, but make sure the directories have execute privledges. In Unix or Linux use the chmod, but if your on NT your administrator must make the changes. |
|
|
Oct 17, 2000, 21:42:01 |
|
Re: CGI-Scripts don´t work!
Hi,
yes, I encountered the same problems, using Win98 - and I don't know why.
If you have a solution, please send me a message.
Possible in german language too.
best regards, Dietmar Meisel |
|
|
Nov 23, 2000, 20:49:23 |
|
Re: CGI-Scripts don´t work!
i also had the same prob on win32 but i double checked the scripts path to the perl interpreter which in most cases on windows9x is #!perl/bin/perl i don't know if this will help but that is how i fixed it |
|
|
Nov 24, 2000, 21:14:45 |
|
Re: CGI-Scripts don´t work!
Make sure that you've set the path for the interpreter!
#!/usr/bin/perl
or (for win32)
#!c:\program files\active perl\perl.exe
or something like this... |
|
|
Jan 12, 2001, 15:25:41 |
|
Re: CGI-Scripts don´t work!
Hi Simon,
I cannot help you as I have just run into the same problem. I get a 500, 615 error massage in the access log. have you got an answer to our problem or shall I post my problem to these pages?
regards,
Angus |
|
|
Mar 21, 2001, 06:51:26 |
|
Re: CGI-Scripts don´t work!
Did you fix that problem? Because I have the same one, I can't configure this Apache.
They gave us some directions but are not working.
If you found the answer please help me.
thanx
Danny
|
|
|
May 8, 2001, 14:20:32 |
|
Re: Re: CGI-Scripts don´t work!
There isn't such thing on NT as "execute privileges" for a directory. I'm on
NT, and I get the same error as well and I can't figure out why.
Jonathan
> You didn't mention what OS you are using, but make sure the directories have > execute privledges. In Unix or Linux use the chmod, but if your on NT your > > administrator must make the changes. |
|
|
Oct 25, 2000, 20:38:03 |
|
Re: Apache with fronpage Module
I can't speak to the FrontPage issue (though I hope
to do so in a future article), but you can find a
tutorial for adding mod_php to your Apache server
at http://Apache-Server.Com/tutorials/>.
#ken P-)}
|
|
|
Jun 7, 2000, 20:14:11 |
|
problem getting started
I would imagine that a site that deals with advanced issues regarding running Apache Server software would not respond to such a lowly question as: I'm running Win98 on a P3, have downloaded 1.3.12 Win binary file, installed it and all that happens is that the console window pops up for less han a second, then vanishes. I'm not a techie,not at all, but do wish to get my feet wet with server software but can't get to first base i.e. can't get it to open and stay open. If, as I suspect, such trivia is not in your agenda, could you please point me in the right direction as to where such a querry could be answered. Thank You. |
|
|
Oct 2, 2000, 01:57:00 |
|
Re: problem getting started
i to had that problem but i did get it running i just played with the config files. but after some time the problem did surface again. so i upgraded to apache1.3.14 which by the way is set up a little better in my opinion. |
|
|
Nov 19, 2000, 17:56:12 |
|
Re: problem getting started
Add the command 'pause' at the end of the start.bat file (in the \bin directory). Then the window will stay on the screen giving you time to read the error message that is probably displayed on it.
|
|
|
Feb 15, 2001, 10:11:13 |
|
|
Oct 3, 2000, 06:00:52 |
|
|
Nov 23, 2000, 20:53:42 |
|
CGI -SCRIPTS do not work
I am unable to run my CGI Scripts.It gives a message ' Page can not be found'
Another issue that I have is : Even though I have configured the web server, it never gives me the default page in the HTML format. It takes me to the parent directory. Is that how it is supposed to be or am I doing something worng?
Any suggestions |
|
|
Oct 5, 2000, 00:17:28 |
|
Re: CGI -SCRIPTS do not work
Dear Sir:
You need to change the path of your documents in your srm.conf file in order to load the default page of apache.
|
|
|
May 9, 2001, 12:58:08 |
|
Apache+weblogic
I want to know how to work Apache webserver with weblogic application server.
Does it possible to connect apache to weblogic with windows NT/linux/unix.
Is there any resource for connecting apache - weblogic .....
please help me.... |
|
|
Oct 9, 2000, 12:34:09 |
|
Apache & Cookies
Does anyone know how to configure the Apache Server to cookies. I'm testing Cookie funtions with different Web Servers and I can't figure out how to configure the cookies for the Apache Server.
Thanks |
|
|
Oct 16, 2000, 19:56:24 |
|
Apache Installation
Hai all,
I have downloaded the Apache binaries from the net.I have unzippped and untar'ed it.But going thru. the docs doesn't take me anywhere. The installation is cumbersome, i believe.Can anyone help me by providing what kind of information we need to give in the three .conf files?
Help will be deeply appreciated.
Thanks
Mohan |
|
|
Oct 18, 2000, 09:24:11 |
|
|
Oct 18, 2000, 14:43:14 |
|
Re: How to change the '404 not found' page
It is possible to configure the Error Messages for specific directories by using the .htaccess file, to use custom error documents by default have a look at the links below ("404" as keyword for the Search engine on www.apache.org :)
http://www.apache.org/docs/custom-error.html
http://www.apache.org/docs/misc/custom_errordocs.html |
|
|
Oct 19, 2000, 15:19:11 |
|
Help me please
I have no earthly idea how to use apache. I want to give out webpage to my users but i have no idea how to do it. If you know of a tutorial somewhere email me. |
|
|
Oct 19, 2000, 02:38:21 |
|
Re: Help me please
I've just installed and started using Apache. If your after a guide to getting up and running check out linux-mandrake.com. Go to their demos section and then into networking for an wisual tutorial. I think there excellent and they seem to cover all the basics.
I've had no trouble yet following them(touch wood.)
Cheers
Rob |
|
|
Oct 19, 2000, 08:58:07 |
|
|
Oct 20, 2000, 05:03:45 |
|
AIX c++ Help please
I get the following error when trying to configure apache1.3.12
Configuring for Apache, Version 1.3.12
+ using installation path layout: Apache (config.layout)
+ Warning: no Perl interpreter detected for support scripts.
+ Perhaps you need to specify one with --with-perl=FILE.
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for IBM AIX 4.3 platform
+ setting C compiler to cc
+ setting C pre-processor to cc -E
+ checking for system header files
+ adding selected modules
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
cd ..; cc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -qnogenpcomp -qnousepcomp -DUSE_HSREGEX -DUSE_EXPAT -I.
/lib/expat-lite -DNO_DL_NEEDED `./apaci` -lm -o helpers/dummy helpers/dummy.c
1506-333 (S) License failure: acquire: No servers available for this vendor (network license server/library).
make: The error code from the last command is 1.
Stop.
======== Error Output for sanity check ========
============= End of Error Report =============
Aborting! |
|
|
Oct 25, 2000, 14:45:39 |
|
can load web pages after install
why after installing Apache (everything runs perfect) I cannot connect to web pages when connected to my service provider. I can connect, but pages are not found ? any ideas ?
thanx
|
|
|
Oct 28, 2000, 23:20:55 |
|
hosting a webpage
I have a few questions about using apache and hosting a web page. Here is the system I'm running.
Windows2000 pro
pentium2 w/mmx
400mhz
128mg ram
Road Runner cable access
I was wondering if I can host a website with what I have or because I have a dynamic IP address, do I have to purchase a business account so that I'll have a static IP address in order to host a site. |
|
|
Nov 3, 2000, 12:22:01 |
|
Re: hosting a webpage
i have a dynamic IP# and i solved my problem with a dynamic dns service which works great. some of these services requier client software to update your ip info into their server. but i have found a free service that allows me to up date manually through their web site www.dyndns.org |
|
|
Nov 19, 2000, 18:12:57 |
|
Re: hosting a webpage
Hi Michael,
Other that the hardware, software, and cable modem you have you will still need to subscribe to a service that will make you dynamic IP address useable for web hosting. You may refer to this site http://www.tzo.com for more information. Also, you will need to have a useable domain name for your webpage, if you don't already have one. |
|
|
Jan 16, 2001, 04:46:37 |
|
Re: hosting a webpage
No you don't have to resort to that. There is a good program out there that you can use that will allways point to your changing ip address. Check out Dynip addressing program. Good Luck |
|
|
Mar 10, 2001, 00:00:33 |
|
Re: hosting a webpage
> I have a few questions about using apache and hosting a web page. Here is the system I'm running.
Windows2000 pro
pentium2 w/mmx
400mhz
128mg ram
Road Runner cable access
I was wondering if I can host a website with what I have or because I have a dynamic IP address, do I have to purchase a business account so that I'll have a static IP address in order to host a site.
You could get something like "dynip". It runs in the background and allows you to have a dynamic address but converts it to a static map. You can even use it if you have a regged domain. To see what I mean goto http://www.dynip.com . |
|
|
Mar 11, 2001, 14:41:26 |
|
Re: hosting a webpage
Michael,
The only way to host a website is to have a static IP along with an entry with a DNS server. If you register your domain name with register.com, you can use their GUI tool to have their DNS point to your IP address on your system.
Easy to do, but static IP is mandatory. |
|
|
Mar 12, 2001, 20:09:51 |
|
Re: Re: hosting a webpage
>Static Mandatory?
That is not true. I host a web site and I have a dynmic ip(Earthlink DSL) and I use a tool from www.tzo.com for the work around. Check it out for free for 30 days. I have been using it for a week and it's very nice. |
|
|
Mar 27, 2001, 22:33:03 |
|
Apache & JServ
I am currently running Mandrake 7.0 and the default installation works. Next I decided I wanted to experiment with Servlet development so I downloaded the
ApacheJserv 1.1.1 and after much painstaking examination I cannot get it to work. (I used the solaris JSDK2.0 & Jdk1.2.2 )
Next I tried Suse 6.4 and was able to get both of them to work fine.
I prefer Mandrake because the default installation of Jbuilder does not work with Suse 6.4
Any Ideas for Mandrake & JServ ? |
|
|
Jun 8, 2000, 18:09:35 |
|
CHANGE THE MAIN PAGE! Please help.....
Dear one,
The article "Getting Started with Apache 1.3" dated June1,2000 had been very enlightening. However as indicated in the section "Change the Main Page!" I could change the DocumentRoot to a different folder. I use Windows NT as my OS. Now the browser would now list all the files in the new folder ie., as given in the Documentroot. How can I make a page as the starting page(default page) in the new folder?
Kindly help. Thanks in advance.
regards,
sri
|
|
|
Nov 6, 2000, 05:10:02 |
|
Re: CHANGE THE MAIN PAGE! Please help.....
create a new file called "index.html" and that will appear by default as the default page for that directory.....
email me if this works for you, as I dont regularly come to this site. |
|
|
Nov 6, 2000, 17:31:54 |
|
PL/SQL on apache???
I don't know much about apache, still doing research. The company I work for currently uses OAS. They have PL/SQL packages embedded with html(aka HTP/HTF packages) to bring up web pages to their intranet. They want to do away with OAS and go with either WebDB or apache. My question is...does apache have the capability to support these same PL/SQL packages?? Also what comparison is there if any between apache web server and WebDB???
Thanks for the help,
arnie |
|
|
Nov 7, 2000, 00:59:00 |
|
servlets
I installed the Apache Server on a system running
Windows 2000 and everything works fine. I would
like to develop Servlets and JSP pages but I'm not
sure what steps to take. I would appreciate it if
someone could detail how to get Apache to process
servlets (or point me to an existing reference)...
it would be a huge help. The more detail
the better for me; I'm new at this. = )
Thanks!
Jason |
|
|
Nov 8, 2000, 18:56:22 |
|
Re: servlets
You will have to download the Tomcat and install it in order to use Servlets and JSP. Go to the Apache.org and follow the directions. Good luck! |
|
|
Nov 21, 2000, 13:59:04 |
|
|
Feb 6, 2001, 19:47:37 |
|
Free web server
It appears your software is for the expert website creator and not for one who is just learning the basic HTML to create personal website and later on for e-commerce.
|
|
|
Nov 8, 2000, 22:48:15 |
|
help I need a new server
I have had AOL for about 4 years and I am fed up with being booted off. I know I have a Rockwell 56K (piece of junk) modem and AOL and it do not mix well. I am fed up with being booted off when doing research on the net. I changed to Prodigy. They were not compatable and the tech at prodigy trashed my AOL and Outlook express mail service. I am attempting recovery now. I need a better server. can you help? I noted Apache is the most popular and reliable, are you compatible with my Compq Presario? |
|
|
Nov 9, 2000, 11:52:53 |
|
CGIs Don't Work why?
Hello, its been a while that I didn't config an apache on Linux and now I forgot already how to modify the *.conf files.Is there any documents on this? BTW any one knows why I can't read my CGIs? I'm running on Linux. Thanks |
|
|
Nov 10, 2000, 21:14:39 |
|
|
Nov 13, 2000, 08:40:42 |
|
htaccess files and NT
I am running an Apache server on (alas) an NT system (no rebuild options either -- no Visual C++ available), and I need to set up authentication for a small number of users. How do I do this? I can of course create htaccess files and fiddle with the config files, but how would I create a password file on NT? Does Apache use NT's own security system so that I need to add users to the NT security system?
I realize this might be just an NT issue, but hopefully you can help me since I cannot find documentation, even though this must surely be a common problem.
Thanks in advance.
Alan |
|
|
Nov 14, 2000, 14:26:40 |
|
Problem with installation on SunOS
Has anyone ever seen this before?
I'm using the latest gcc and make. Could this maybe be a problem of space? It can't create a file. Then when it trys to find, the problem occurs?
Does anyone have any ideas for me?
Using config file: Configuration
Creating Makefile
+ configured for Solaris 270 platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; gcc -DSOLARIS2=270 -DNO_DL_NEEDED -o helpers/dummy helpers/dummy.c -lsocket -lnsl
ld: fatal: file values-Xa.o: cannot open file: No such file or directory
ld: fatal: File processing errors. No output written to helpers/dummy
make: *** [dummy] Error 1
============= End of Error Report =============
Aborting!
|
|
|
Nov 17, 2000, 15:57:10 |
|
Problem in configuration
I have installed apache web server.
I have tried to confgure the server but i failed.
The problem is server does not resolve Domain name.
but server correctly responed when we access through IP address of the machine on which the server is running.
I have tried "netconf" utility of LINUX.
I am unable to configure the server after using this utility program.
How can I use this utility to configure the server |
|
|
Nov 18, 2000, 08:36:05 |
|
Project..
Hi for all ....
i'm under graduate student,i will perform graduate_project,wich consist of:
applet,jsp,servlets and xml...
please assist me to perform a good project.
bi......
|
|
|
Nov 21, 2000, 10:06:54 |
|
project
i have a class project to install Apache web server on a Red hat linux 6.2. can somebody please help me out. any information will be highly appreciatd. |
|
|
Nov 21, 2000, 18:09:38 |
|
Vhost
I'm using Win 32 1.3.14 version, and I'm having trouble setting up the Vhost function. I have the notes from the manual and still seem to be having some problems. I need to setup multiple domain names tied to one IP address. If someone has some insite into my problem, it would be apperciated. |
|
|
Nov 22, 2000, 05:44:51 |
|
cgi access
Hi,
How could i let uses to execute cgi script of their account?
THanks |
|
|
Jun 15, 2000, 06:32:06 |
|
Need Help !!!!
Hello,
My current problem is how i can send out the comments after i click submit button. In addition, i also no idea on how to create this submit button so that other people can reply the comments and just click on the submit button.
Anybody can help.
Your co-operation is much appreciate.
Tq
Adeline |
|
|
Nov 24, 2000, 03:59:43 |
|
apache/tomcat tutorial
Can anybody tell me about any site having tutorial on apache/tomcat/jsp??
Thanks in advance.
|
|
|
Dec 2, 2000, 09:14:47 |
|
apache on sun
Hi
I want to install Apache on sun plz if any one have any idea plz help me |
|
|
Dec 3, 2000, 15:38:16 |
|
Re: Apache on sun
Hello,
You can download Apache for Sun Solaris at;
http://www.sunfreeware.com/
or
http://www.apache.org/dyn/closer.cgi
http://www.apache.org/mirrors/
good luck! |
|
|
Mar 3, 2001, 05:20:08 |
|
Where Can I find an Apache Tutorial?
Hi!
I have installed my apache web server on a win 2k . I can run it and run my cgi scripts in perl, but i need more information about how to set passwords to documents or pages and use virual hosts.
I think that must to be some tutorial, not like the apache documents, i need something more easylly for understanding. My maternal laguage is the spanish and I believe that you know how is hard to read in other language.
Thanks.
Ray
|
|
|
Dec 3, 2000, 15:49:48 |
|
Thanks Ken, Apache 1.3.14 install process
Thank you Ken Coar for your detailed instructions.
We went through over 4 books to resolve our install difficulties and it was only through your instructions here that we were able install Apache 1.3.14 successfully. We probably had a conflict with another version of Apache. None of the other books were of any help.
Can you recommend us an Apache reference book for version 1.3.14.
Thank you again for your detailed instructions!
Melinda |
|
|
Dec 4, 2000, 01:13:27 |
|
Re: Thanks Ken, Apache 1.3.14 install process
Melinda wrote:
>
> Can you recommend us an Apache reference book for version 1.3.14.
As far as I know there are no books yet available that cover
that specific version. However, any recent good in-depth book on
Apache should suffice. There's a pretty complete list at the
Apache-Server.Com site.
#ken P-)} |
|
|
Dec 4, 2000, 11:53:38 |
|
httpd fails to start on HP-UX
Hi, I get the following error trying to start httpd on HP-UX 10.20.. help!
rmdc# /usr/local/web/apache/bin/apachectl start
/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/web/apache/libexec/mod_vhost_alia
s.so
/usr/lib/dld.sl: Permission denied
Syntax error on line 207 of /usr/local/web/apache/conf/httpd.conf:
Cannot load /usr/local/web/apache/libexec/mod_vhost_alias.so into server: Permission denie
d
/usr/local/web/apache/bin/apachectl start: httpd could not be started
rmdc#
|
|
|
Dec 7, 2000, 06:17:15 |
|
Re: httpd fails to start on HP-UX
Hi,
Basically, all the .so files need their execute bit turned on. I had the same problem as I did not have execute rights then i installed Apache. I got the permissions changed to execute from my DBA and the problem was resolved.
NT.
> Hi, I get the following error trying to start httpd on HP-UX 10.20.. help!
rmdc# /usr/local/web/apache/bin/apachectl start
/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/local/web/apache/libexec/mod_vhost_alia
s.so
/usr/lib/dld.sl: Permission denied
Syntax error on line 207 of /usr/local/web/apache/conf/httpd.conf:
Cannot load /usr/local/web/apache/libexec/mod_vhost_alias.so into server: Permission denie
d
/usr/local/web/apache/bin/apachectl start: httpd could not be started
rmdc#
|
|
|
Jan 17, 2001, 00:26:30 |
|
|
Dec 7, 2000, 11:20:46 |
|
cant run servlets under apache
I have installed bot apache and tomcat successfully and they both start up, but i can't run servlets.
servlets will compile but i get a page not found error if i try to run the server. this is what i did:
Apache is configured to run tomcat and it does. I start tomcat first then apache, i put the servlet class in the in the directory "htdocs" under the
Apache root directory, but when i try to call the servlet from an html documet i get "The page cannot be found"
Could any one please tell me what is wrong and how can I rectify it?
Regards,
Ako |
|
|
Dec 10, 2000, 01:09:03 |
|
C/style CGI Scripts - How Do I?
Hello, I am running into a problem
I can run perl-cgi scripts from my apache server, but not c/c++-cgi scripts... what do I have to do... when I attempt to run a compiled script... I get an internal server error from the browser
Thanks
Steve |
|
|
Jun 19, 2000, 17:46:23 |
|
Getting started: index.html
I have my website hosted on 3 (free) suppliers.
I am trying to do it from my own machine now, running Apache 1.1.4.
I have a problem with the index.html file
At all my suppliers,
urls like XXX/
will be automatically suffixed as XXX/index.html
I cannot accomplish that with Apache
(yet, until you help)
What is missing in my config?
Thanks
|
|
|
Dec 18, 2000, 22:09:42 |
|
|
Sep 14, 2000, 15:26:57 |
|
apache server
respected sir,
iam a systems engineer, working on NT 4.0. I WANT FULL DETAILS ABOUT INSTALLING AND CONFIGURING APACHE SERVER ON LINUX PLATFORM.
THANK YOU,
BHAVANI |
|
|
Dec 20, 2000, 10:24:29 |
|
Apache on NT virtual host...
We are trying to run an application both in intranet and internet using Apache web server...can anyone our there guide us.Thanks in advance for your help... |
|
|
Dec 21, 2000, 11:14:21 |
|
|
Dec 24, 2000, 20:03:56 |
|
Changing Listen Port
I just set up apache on an NT server, and I'm running apache as an NT service. How can I go about disabling listening on port 80 and change it over to another misc port, like 880? If you can either just drop me a line or send me a link, I'd be grateful. I've been scouring the manuals and havent seen anything I can use yet.
-monkey |
|
|
Dec 29, 2000, 08:17:55 |
|
Apache
Can anyone provide documentation on how to setup a Apache server with Linux. An easy step-by-step would be appreciated...Please respond |
|
|
Dec 31, 2000, 01:28:28 |
|
Tomcat on Port 80 w/ Apache
I have tomcat up and running with servlets being run on port 8080 (default). I would like to have the servlets run on port 80 instead of having to type in the port 8080. I've tried changing the server.xml file to no avail. Does a module or anything need to be added? I'm running it on RH7.
Thanks,
[email protected] |
|
|
Dec 31, 2000, 15:23:19 |
|
Re: Tomcat on Port 80 w/ Apache
Somewhere around line 225 in ../conf/server.xml you will find the statements
value="8080"/>
I changed the value to 80 and it works fine.
I have other problems around
with the configuration and servlet directory paths, but at least I have this
right. ;) |
|
|
Jan 15, 2001, 05:07:34 |
|
Serving JSPs with Apache
I'm stuck too! Did you findout anything yet?
This is is where I'm at thus far:
I have several Name based virtual hosts setup and they work nicely
serving up regular HTML pages.
However, I can't seem to be able to serve up JSP pages which are located
in my virtual host directories. Apache keeps going back and looking in
the main DOCUMENT ROOT for the JSP pages. So if I put hello.jsp in my
vhost directory and try to bring it up on my browser Apache gives me a
JSP Error saying it can't find the file in document_root\hello.jsp. If
I drop the hello.jsp in the document root and then try to hit the page
via the vhost name it works.
Do you have any suggestions how to serve up jsp's from a virtual host
directory?? |
|
|
Jan 2, 2001, 03:52:27 |
|
http.conf?
I was windering if there was a place I counld download other people's config files? or could somebody send me theirs? ([email protected])
also does anybody know how i get aphace to allow directories without the end '/'
(ie when I type ../test it tells me it cant find the page, I have to type .../test/ then it will work)
Also, for some reason my users directory thing wont work, I havent changed any config stuff there so I udnno why it wont work.
Thanks,
Justin
(heh I should buy a book) |
|
|
Jan 2, 2001, 08:00:38 |
|
How to read Content Lenght
I am running my apache server on windows 95 system .I am using perl to write my cgi scripts but i unable to send the results using the post methos .I feel my perl scripts are not able to read the bytes specifeied in the content length.
Please advise |
|
|
Jan 2, 2001, 12:47:24 |
|
|
Jun 23, 2000, 18:22:53 |
|
|
Jan 6, 2001, 10:15:24 |
|
jpg and cgi
Hi all I just set up Apache 1.3 have all running smooth and testing cgi found that every time I call a jpg file the server tries to read it as a cgi script file where is the switch to fix this many thanks
Robert
|
|
|
Jan 6, 2001, 14:35:40 |
|
Apache Server Config
Hi,
How do I configure Apache so that a URL reference ending in a directory will return a default document (e.g. index.htm) - that is suppose http://127.0.0.0/JSPDocs/ is typed into the location box of the browser, the Web server should automatically serve http://127.0.0.0/JSPDocs/index.htm - something like Personal Web Server's 'Default Document' feature.
- Can this be done ? How ?
I am using Apache on Windows 98
Thanks,
Manish Bhobe |
|
|
Jan 11, 2001, 18:21:05 |
|
Running my own server
I am building a web site, and would like to host this site on my own server.I don't know about all the codes and everything that's involved with putting something like this together, I am going to make myself effectual. I understand that it is simplest, that I install unix platform such as Linux RPM. If so can it run a rather large web site that includes pages with javascript behaviers run well with this apache software. And do you recommend this all be ran on an external computer other than my workstation? For this device to handle up to 500 or more clients at a time, what would you suggest be done, if anything? |
|
|
Jan 15, 2001, 02:40:34 |
|
Re: Running my own server
Definitely on a seperate machine. Your machine will slow right down if you are using it as a desktop while multiple users are accessing the files. |
|
|
Feb 6, 2001, 20:32:27 |
|
pleaseHelp:CGI in user-directories
I recently installed LinuxPPC 200Q4 on my Mac and it comes preinstalled with Apache. I read a lot about configuring CGI-directories, and other stuff in the httpd.conf file. However it is still not possible for me to run CGIs in user directories and I absolutely don't know why!
in /home I have the httpd dir and also my user directories with a sub called public_html for everyone with an enclosed cgi-bin dir. this however is not able to run CGIs although I can run them in the main server cgi-bin dir at /home/httpd/html/cgi-bin.
I also don't know why my public_html pages work because I have not enabled /home/*/public_html directive (which is standard commented out). Since this directory doesn't ly within the document root: /home/httpd/html i don't understand why anyone has access to them?(they work fine with localhost/~username/). On the other hand these public _html directories should only fall under the standard 'Directory /' directive, which doesn't allow most access(so why can I read these pages?). The only Directory directive i have is for: /home/httpd/html!
I also don't understand why I don't have access to my scripts in any dir when I include Options ExecCGI in the 'directory /' directive.
I have all permissions tried to world executable...directories and files!
If someone could explain the convoluted magic of these directives I would be really thankful.
I freely admit I don't understand a lot of things but I wonder why none of the stuff I read so far on the net about it doesn't solve my problem. Can there be any option I forget, which is nowhere mentioned? |
|
|
Jan 16, 2001, 16:47:11 |
|
on Solaris Intel Plateform
Hi
I am wondering if this is tha same procedure for Solaris Intel.
If no can you please let me know where to get this
Thanks
Javed |
|
|
Jan 16, 2001, 20:59:12 |
|
Getting CGI to work at all
Please Help. Ihave been trying to do this since April! (using a binary download of Apache for Solaris. Yesterday I downloaded, compiled and installed 1.3.12
per your instructions above.)
If I insert the text
Here is some CGI output:n:
into the index.html.en and do a refresh with the browser, I get no output
from the script, embedded in the page. If I view source, the above is what I see, not the embedded replacement text. It is definitely reloading as each
time I modify the html, I increment a digit in the :n: above. Since I
have made no mods to the httpd.conf I expect this to work surely?. Its their
test script inserted in their test home page!
Apache documentation is extensive and tells you nothing about how to start up
CGI. I give them 0/10 for documentation. Its like Microsofts - lots of it and not one practical fact or HOW-TO in there. Searching the web produces nothing
useful that I can find although to be fair 1 million hits on +Apache +CGI
means I have no chance of picking the wheat from the chaff.
Please help me with a blow by blow how-to like the install one above. I cannot believe this is so hard.
Thanks in desperation
Nigel
|
|
|
Jun 29, 2000, 10:15:29 |
|
ColdFusion
How do I get ColdFusion Server to work with Apache? I followed the instructions on the allaire web site that told me to download a corresponding file to read the ColdFusion module and loaded the line of code into the httpd.conf file and Apache will not restart. In what place of the order of Load module statements should the Load ColdFusion module statement be placed in order to get it to work with Apache. Also, I put the ColdFusion .dll module file in the modules directory. Is this correct? Any assistance will be greatly appreciated. Thank you for your time. |
|
|
Jan 19, 2001, 16:20:32 |
|
Re: ColdFusion
Have a look here. I had a similar problem and documented the solution.
http://www.armagossa.com/index.cfm?contentID=26
Hope this helps.
|
|
|
Jan 25, 2001, 03:25:32 |
|
zcat errors
I downloaded apache_1.3.14-IP22-sgi-irix32.tar.gz
From the "Installing a Pre-built Package on Unix" section...
I attempt to expand the file with:
zcat apache_1.3.14-IP22-sgi-irix32.tar.gz | tar xf -
I get the error:
apache_1.3.14-IP22-sgi-irix32.tar.gz.Z: No such file or directory
I change the file's name from apache_1.3.14-IP22-sgi-irix32.tar.gz to apache_1.3.14-IP22-sgi-irix32.tar.gz.Z
I attempt to expand the file with:
zcat apache_1.3.14-IP22-sgi-irix32.tar.gz | tar xf -
I get the error:
apache_1.3.14-IP22-sgi-irix32.tar.gz: not in compressed format
-----------------
I'm pretty new at this. Does anyone have any suggestions for how I get through this problem? Is there a good place to get answers to such basic questions as this?
Thank you.
|
|
|
Jan 19, 2001, 22:30:03 |
|
DHCP and linux
I am tring to set up apache on my computer running RedHat 7.0 . I have a dynamic IP (but it only changes 1 a year) and want to run a personal website from the @home service. I have done it on a windows machine but can't get it to work on linux. I want to use the IP as the server name in the config file but It
it chokes on this and gives me an error saying "cannot determine local host name" I want to get the site working using just the IP before I change my DNS servers.
If you have any sugestions PLEASE let me know!
(Don't tell me I'm not supposed to be running a website with @home, I know that) |
|
|
Jan 24, 2001, 04:33:10 |
|
question
please, can you state the differrence between the unix apache to internet information service, version 4 and 5.
|
|
|
Feb 1, 2001, 13:11:50 |
|
help
Hello, i talk english juste a little bite, what files i have to download for install apache in my Unix machine. I don t have apache on my computer and y want de last version of apache serveur.
Tanks !
Claudios |
|
|
Feb 1, 2001, 16:01:19 |
|
|
Feb 3, 2001, 18:46:51 |
|
|
Feb 28, 2001, 22:33:00 |
|
security
I have installed apache with modssl, everything is working just greate.
Now to my problem , if someone is loging on with http i want my server to switch to https automatic.
|
|
|
Feb 4, 2001, 10:57:27 |
|
Enter your comments below.
All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux 2.2.12, Apache 1.3.9. and PHP 3.14
Copyright INT Media Group, Incorporated All Rights Reserved.
Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.
|