httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveena Vittal <Praveena.Vit...@Sun.COM>
Subject [users@httpd] Query regarding the httpd.conf
Date Mon, 10 Sep 2007 10:42:46 GMT

 I am trying to make 2 ports listen in same httpd.conf file.

port 1-3032 - https://

port 2 -2022- standalone.

httpd.conf file is below:

ServerType standalone

ServerRoot     /opt/SUNWRM2/applications/apache
DocumentRoot   /opt/SUNWTeleAlarm/www_live/docs
PidFile        /var/opt/SUNWTeleAlarm/LOG/
ScoreBoardFile /var/opt/SUNWTeleAlarm/LOG/TeleAlarmweb.scoreboard
ErrorLog       /var/opt/SUNWTeleAlarm/LOG/TeleAlarmweb_error_log
LockFile       /var/opt/SUNWTeleAlarm/LOG/TeleAlarmweb.lock

Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 1
MaxSpareServers 3
StartServers 1
MaxClients 150
MaxRequestsPerChild 30

LoadModule env_module         libexec/
LoadModule config_log_module  libexec/

LoadModule mime_module        libexec/
LoadModule negotiation_module libexec/
LoadModule status_module      libexec/
LoadModule includes_module    libexec/
LoadModule autoindex_module   libexec/
LoadModule dir_module         libexec/
LoadModule cgi_module         libexec/
LoadModule asis_module        libexec/

LoadModule imap_module        libexec/
LoadModule action_module      libexec/
LoadModule userdir_module     libexec/
LoadModule alias_module       libexec/
LoadModule access_module      libexec/
LoadModule auth_module        libexec/
LoadModule setenvif_module    libexec/
LoadModule fastcgi_module     libexec/

#<IfDefine SSL>
LoadModule ssl_module         libexec/

AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_so.c
AddModule mod_setenvif.c
AddModule mod_fastcgi.c
#<IfDefine SSL>
AddModule mod_ssl.c
Port 2022

User rm2
Group other

ServerAdmin root@localhost
ServerName localhost

<Directory />
    Options All
    AllowOverride None

AccessFileName .htaccess
UseCanonicalName On
DefaultType text/plain
<IfModule mod_mime_magic.c>
    MIMEMagicFile /opt/Apache/conf/magic
HostnameLookups Off

LogLevel debug
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" 

LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

CustomLog /var/opt/SUNWTeleAlarm/LOG/TeleAlarmweb_access_log common
ServerSignature On

Alias /index.html /opt/SUNWTeleAlarm/www_live/cgi-bin/frontpage.cgi

<Directory "/opt/Apache/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
ScriptAlias /cgi-bin/ "/opt/SUNWTeleAlarm/www_live/cgi-bin/"
<Directory "/opt/SUNWTeleAlarm/www_live/cgi-bin/">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

DefaultIcon /icons/unknown.gif
IndexOptions FancyIndexing SuppressDescription
AddDescription "StarOffice Doc" .sdw
AddDescription "PostScript" .ps
AddAltByType "Star" .sdw
HeaderName .index_head
ReadmeName README
HeaderName HEADER
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
AddEncoding x-compress Z
AddEncoding x-gzip gz
AddLanguage en .en
AddLanguage fr .fr
AddLanguage de .de
AddLanguage da .da
AddLanguage el .el
AddLanguage it .it
LanguagePriority en fr de
AddHandler cgi-script .cgi .pl
AddHandler fastcgi-script .fcg .fcgi .exe
AddType httpd/send-as-is csv  download
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0

#<IfDefine SSL>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl    .crl

#<IfModule mod_ssl.c>

SSLPassPhraseDialog  builtin

SSLSessionCache         dbm:/var/opt/SUNWTeleAlarm/LOG/TeleAlarm_ssl_scache
SSLSessionCacheTimeout  300

SSLMutex  file:/var/opt/SUNWTeleAlarm/LOG/TeleAlarm_ssl_mutex

SSLRandomSeed startup builtin
SSLRandomSeed connect builtin

SSLLog      /var/opt/SUNWTeleAlarm/LOG/TeleAlarm_ssl_engine_log
SSLLogLevel info


#<IfDefine SSL>

Listen 80
<VirtualHost *:80>
  Redirect / https://gssie-210-2.central/
Listen 443
Listen 3032
#<VirtualHost *:3032
<VirtualHost *:443 *:3032>

DocumentRoot   /opt/SUNWTeleAlarm/www_live/docs
ServerName localhost
ServerAdmin root@localhost

ErrorLog /var/opt/SUNWTeleAlarm/LOG/apache_error_log
TransferLog /var/opt/SUNWTeleAlarm/LOG/apache_access_log

SSLEngine on


SSLCertificateFile /var/opt/SUNWTeleAlarm/configuration/tomcat.cert

SSLCertificateKeyFile /var/opt/SUNWTeleAlarm/configuration/tomcat.key

<Files ~ "\.(cgi|shtml|phtml|php3?)$">
    SSLOptions +StdEnvVars
<Directory "/opt/SUNWTeleAlarm/www_live/cgi-bin">
    SSLOptions +StdEnvVars

SetEnvIf User-Agent ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0

CustomLog /var/opt/SUNWTeleAlarm/LOG/tele_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"


Without Listen 2022 the port is not listening.Can you please check if it 
is correct or wrong?

Thanks & Regards,

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message