09-25-2001
DirectoryIndex index.php index.html default.html index.htm ...... (add more here)
Don't forget to restart apache (httpd) after making changes.
10 More Discussions You Might Find Interesting
1. IP Networking
Have been asked to remove all images from being logged to the access_log ... where am I going wrong?<VirtualHost 123.456.789.99>
ServerName www.somedomain.com.au
DocumentRoot /agents/tts
Redirect /wap http://somewap.com.au/traveler
LogFormat "%v %h %l %u %t \"%r\" %>s %b" comonvhost... (2 Replies)
Discussion started by: Cameron
2 Replies
2. Ubuntu
Hi everybody,
I have installed Apache 2 + Tomcat 5.5. on Ubuntu 7.04 and the default httpd.conf is empty (0 lines), however there is a file called apache2.conf that looks like a default httpd.conf.
I didn't use Apache in ages, since 1.3.x release, but I remember that the httpd.conf by default... (2 Replies)
Discussion started by: sspirito
2 Replies
3. UNIX for Dummies Questions & Answers
Assuming I have the following entry in my httpd.conf file
<Directory /usr/local/www/apache22/data>
AddHandler python-program .py
PythonHandler form.py
PythonDebug On
</Directory>
am I allowed to set a reference to another python script such as
myscript.py in the httpd.conf file, or can... (0 Replies)
Discussion started by: thumper
0 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
Need to add a following line to many webserver configuration .
ie. Need to make following entry in "LimitRequestLine 4000" in httpd.conf.
Any ideas welcome
Regards,
logic0 (2 Replies)
Discussion started by: logic0
2 Replies
5. Web Development
I'd like to know if servername in apache httpd.conf is the machine name or domain name. If it is domain name like example.com, should it be registered before in use? (1 Reply)
Discussion started by: yzhang738
1 Replies
6. Red Hat
Hi, I was wondering if someone could help me out here. I am super-paranoid, so am trying to limit what PHP files can be executed on this server. I have a small list of files that I want to allow. The rest, deny. So I have base rule that denies all php files server-wide: order allow,deny ... (0 Replies)
Discussion started by: Lobster
0 Replies
7. Red Hat
Hi, I was wondering if someone could help me out here. I am super-paranoid, so am trying to limit what PHP files can be executed on this server. I have a small list of files that I want to allow. The rest, deny:
<Files ~ "\.(php|php3)$">
order allow,deny
deny from all
</Files>
I... (0 Replies)
Discussion started by: Lobster
0 Replies
8. UNIX for Dummies Questions & Answers
What is the command to see what httpd.conf file is apache using. Apache is started. (1 Reply)
Discussion started by: galford
1 Replies
9. Shell Programming and Scripting
Hello Guys !!
wanted to use SED to pull cout the full vertualhost entry for domain which is specified from command line
Like (IP base httpd.conf)
domain="ServerName takemewithyou.in"
sed -n '/<VirtualHost* $domain/,/<\/VirtualHost>/p' httpd.conf
File can take to test is below
... (0 Replies)
Discussion started by: SilvesterJ
0 Replies
10. Red Hat
hi
is it possible ?
explain tome about below items
StartServers 8
MinSpareServers 10
MaxSpareServers 20
ServerLimit 4000
MaxClients 4000
MaxRequestsPerChild 4000
this is my servers 8gig ram & cpu 12 core...
what cann i putting in order this ?
tnx (1 Reply)
Discussion started by: mnnn
1 Replies
LEARN ABOUT MOJAVE
apache
apache(1M) System Administration Commands apache(1M)
NAME
apache - Apache hypertext transfer protocol server overview
DESCRIPTION
apache consists of a main server daemon, loadable server modules, some additional support utilities, configuration files, and documenta-
tion.
FILES
The apache HTTPD server is integrated with Solaris.
The following files specify the installation locations for apache:
/etc/apache Contains server configuration files.
A newly-installed server must be manually configured before use. Typically this involves copying httpd.conf-example
to the httpd.conf file and making local configuration adjustments.
/usr/apache/bin Contains the httpd executable as well as other utility programs.
/usr/apache/htdocs Contains the Apache manual in HTML format. This documentation is accessible by way of a link on the server test
page that gets installed upon fresh installation.
/usr/apache/include Contains the Apache header files, which are needed for building various optional server extensions with apxs(8)
/usr/apache/jserv Contains documention for the mod_jserv java servlet module. Documention can be read with a web browser using the
url:
file:/usr/apache/jserv/docs/index.html
/usr/apache/libexec Contains loadable modules (DSOs) supplied with the server. Any modules which are added using apxs(8)are also copied
into this directory.
/usr/apache/man Contains man pages for the server, utility programs, and mod_perl.
Add this directory to your MANPATH to read the Apache man pages. See NOTES.
/usr/apache/perl5 Contains the modules and library files used by the mod_perl extension to Apache.
/var/apache/cgi-bin Default location for the CGI scripts.
This can be changed by altering the httpd.conf file and restarting the server.
/var/apache/htdocs Default document root.
This can be changed by altering the httpd.conf file and restarting the server.
/var/apache/icons Icons used by the server.
This normally shouldn't need to be changed.
/var/apache/logs Contains server log files.
The formats, names, and locations of the files in this directory can be altered by various configuration directives
in the httpd.conf file.
/var/apache/proxy Directory used to cache pages if the caching feature of mod_proxy is enabled in the httpd.conf file.
The location of the cache can also be changed by changing the proxy configuration in the httpd.conf file.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWapchr |
+-----------------------------+-----------------------------+
| |SUNWapchu |
+-----------------------------+-----------------------------+
| |SUNWapchd |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
http://www.apache.org
NOTES
In addition to the documentation and man pages included with Solaris, more information is available at http://www.apache.org
The Apache man pages are provided with the programming modules. To view the manual pages for the Apache modules with the man command, add
/usr/apache/man to the MANPATH environment variable. See man(1) for more information. Running catman(1M) on the Apache manual pages is
not supported.
SunOS 5.10 8 Aug 2000 apache(1M)