Apache not working

Hi,
I am new to this forum. I bought Mac book pro few months back. I am working on a project that involves Jboss. Whenever I start Apache and type "http://localhost/" on the browser, the result is "It works!".(But when I hit refresh, it says "Safari can’t open the page “http://localhost/” because Safari can’t connect to the server “localhost”."). There are no "httpd" process running in the Activity Monitor.
I tried to configure, still the same issue. I checked and none of the other services is listening to the same port:80. I have posted the complete content of httpd.conf file in the"/etc/apache2".(I apologize for the long thread)
1. This is the main Apache HTTP server configuration file. It contains the
2. configuration directives that give the server its instructions.
3. See <URL:<a class="jive-link-external-small" href="http://">http://httpd.apache.org/docs/2.2> for detailed information.
4. In particular, see
5. <URL:<a class="jive-link-external-small" href="http://">http://httpd.apache.org/docs/2.2/mod/directives.html>
6. for a discussion of each configuration directive.
1. Do NOT simply read the instructions in here without understanding
2. what they do. They're here only as hints or reminders. If you are unsure
3. consult the online docs. You have been warned.
1. Configuration and logfile names: If the filenames you specify for many
2. of the server's control files begin with "/" (or "drive:/" for Win32), the
3. server will use that explicit path. If the filenames do not begin
4. with "/", the value of ServerRoot is prepended -- so "/private/var/log/apache2/foo_log"
5. with ServerRoot set to "/usr" will be interpreted by the
6. server as "/usr//private/var/log/apache2/foo_log".
1. ServerRoot: The top of the directory tree under which the server's
2. configuration, error, and log files are kept.
1. Do not add a slash at the end of the directory path. If you point
2. ServerRoot at a non-local disk, be sure to point the LockFile directive
3. at a local disk. If you wish to share the same ServerRoot for multiple
4. httpd daemons, you will need to change at least LockFile and PidFile.
ServerRoot "/usr"
1. Listen: Allows you to bind Apache to specific IP addresses and/or
2. ports, instead of the default. See also the <VirtualHost>
3. directive.
1. Change this to Listen on specific IP addresses as shown below to
2. prevent Apache from glomming onto all bound IP addresses.
#Listen 12.34.56.78:80
#Listen 80
1. Dynamic Shared Object (DSO) Support
1. To be able to use the functionality of a module which was built as a DSO you
2. have to place corresponding `LoadModule' lines at this location so the
3. directives contained in it are actually available before they are used.
4. Statically compiled modules (those listed by `httpd -l') do not need
1. Example:
2. LoadModule foo_module modules/mod_foo.so
LoadModule authnfilemodule libexec/apache2/modauthnfile.so
LoadModule authndbmmodule libexec/apache2/modauthndbm.so
LoadModule authnanonmodule libexec/apache2/modauthnanon.so
LoadModule authndbdmodule libexec/apache2/modauthndbd.so
LoadModule authndefaultmodule libexec/apache2/modauthndefault.so
LoadModule authzhostmodule libexec/apache2/modauthzhost.so
LoadModule authzgroupfilemodule libexec/apache2/modauthzgroupfile.so
LoadModule authzusermodule libexec/apache2/modauthzuser.so
LoadModule authzdbmmodule libexec/apache2/modauthzdbm.so
LoadModule authzownermodule libexec/apache2/modauthzowner.so
LoadModule authzdefaultmodule libexec/apache2/modauthzdefault.so
LoadModule authbasicmodule libexec/apache2/modauthbasic.so
LoadModule authdigestmodule libexec/apache2/modauthdigest.so
LoadModule cache_module libexec/apache2/mod_cache.so
LoadModule diskcachemodule libexec/apache2/moddiskcache.so
LoadModule memcachemodule libexec/apache2/modmemcache.so
LoadModule dbd_module libexec/apache2/mod_dbd.so
LoadModule dumpio_module libexec/apache2/mod_dumpio.so
LoadModule extfiltermodule libexec/apache2/modextfilter.so
LoadModule include_module libexec/apache2/mod_include.so
LoadModule filter_module libexec/apache2/mod_filter.so
LoadModule substitute_module libexec/apache2/mod_substitute.so
LoadModule deflate_module libexec/apache2/mod_deflate.so
LoadModule logconfigmodule libexec/apache2/modlogconfig.so
LoadModule logforensicmodule libexec/apache2/modlogforensic.so
LoadModule logio_module libexec/apache2/mod_logio.so
LoadModule env_module libexec/apache2/mod_env.so
LoadModule mimemagicmodule libexec/apache2/modmimemagic.so
LoadModule cernmetamodule libexec/apache2/modcernmeta.so
LoadModule expires_module libexec/apache2/mod_expires.so
LoadModule headers_module libexec/apache2/mod_headers.so
LoadModule ident_module libexec/apache2/mod_ident.so
LoadModule usertrack_module libexec/apache2/mod_usertrack.so
#LoadModule uniqueidmodule libexec/apache2/moduniqueid.so
LoadModule setenvif_module libexec/apache2/mod_setenvif.so
LoadModule version_module libexec/apache2/mod_version.so
LoadModule proxy_module libexec/apache2/mod_proxy.so
LoadModule proxyconnectmodule libexec/apache2/modproxyconnect.so
LoadModule proxyftpmodule libexec/apache2/modproxyftp.so
LoadModule proxyhttpmodule libexec/apache2/modproxyhttp.so
LoadModule proxyscgimodule libexec/apache2/modproxyscgi.so
LoadModule proxyajpmodule libexec/apache2/modproxyajp.so
LoadModule proxybalancermodule libexec/apache2/modproxybalancer.so
LoadModule ssl_module libexec/apache2/mod_ssl.so
LoadModule mime_module libexec/apache2/mod_mime.so
LoadModule dav_module libexec/apache2/mod_dav.so
LoadModule status_module libexec/apache2/mod_status.so
LoadModule autoindex_module libexec/apache2/mod_autoindex.so
LoadModule asis_module libexec/apache2/mod_asis.so
LoadModule info_module libexec/apache2/mod_info.so
LoadModule cgi_module libexec/apache2/mod_cgi.so
LoadModule davfsmodule libexec/apache2/moddavfs.so
LoadModule vhostaliasmodule libexec/apache2/modvhostalias.so
LoadModule negotiation_module libexec/apache2/mod_negotiation.so
LoadModule dir_module libexec/apache2/mod_dir.so
LoadModule imagemap_module libexec/apache2/mod_imagemap.so
LoadModule actions_module libexec/apache2/mod_actions.so
LoadModule speling_module libexec/apache2/mod_speling.so
LoadModule userdir_module libexec/apache2/mod_userdir.so
LoadModule alias_module libexec/apache2/mod_alias.so
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
LoadModule bonjour_module libexec/apache2/mod_bonjour.so
#LoadModule php5_module libexec/apache2/libphp5.so
#LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so
<IfModule !mpmnetwaremodule>
<IfModule !mpmwinntmodule>
1. If you wish httpd to run as a different user or group, you must run
2. httpd as root initially and it will switch.
1. User/Group: The name (or #number) of the user/group to run httpd as.
2. It is usually good practice to create a dedicated user and group for
3. running httpd, as with most system services.
User _www
Group _www
</IfModule>
</IfModule>
1. 'Main' server configuration
1. The directives in this section set up the values used by the 'main'
2. server, which responds to any requests that aren't handled by a
3. <VirtualHost> definition. These values also provide defaults for
4. any <VirtualHost> containers you may define later in the file.
1. All of these directives may appear inside <VirtualHost> containers,
2. in which case these default settings will be overridden for the
3. virtual host being defined.
1. ServerAdmin: Your address, where problems with the server should be
2. e-mailed. This address appears on some server-generated pages, such
3. as error documents. e.g. [email protected]
ServerAdmin [email protected]
1. ServerName gives the name and port that the server uses to identify itself.
2. This can often be determined automatically, but we recommend you specify
3. it explicitly to prevent problems during startup.
1. If your host doesn't have a registered DNS name, enter its IP address here.
#ServerName www.example.com:80
1. DocumentRoot: The directory out of which you will serve your
2. documents. By default, all requests are taken from this directory, but
3. symbolic links and aliases may be used to point to other locations.
DocumentRoot "/Library/WebServer/Documents"
1. Each directory to which Apache has access can be configured with respect
2. to which services and features are allowed and/or disabled in that
3. directory (and its subdirectories).
1. First, we configure the "default" to be a very restrictive set of
2. features.
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
1. Note that from this point forward you must specifically allow
2. particular features to be enabled - so if something's not working as
3. you might expect, make sure that you have specifically enabled it
4. below.
1. This should be changed to whatever you set DocumentRoot to.
<Directory "/Library/WebServer/Documents">
1. Possible values for the Options directive are "None", "All",
2. or any combination of:
3. Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
1. Note that "MultiViews" must be named explicitly --- "Options All"
2. doesn't give it to you.
1. The Options directive is both complicated and important. Please see
2. http://httpd.apache.org/docs/2.2/mod/core.html#options
3. for more information.
Options Indexes FollowSymLinks MultiViews
1. AllowOverride controls what directives may be placed in .htaccess files.
2. It can be "All", "None", or any combination of the keywords:
3. Options FileInfo AuthConfig Limit
AllowOverride None
1. Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>
1. DirectoryIndex: sets the file that Apache will serve if a directory
2. is requested.
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
1. The following lines prevent .htaccess and .htpasswd files from being
2. viewed by Web clients.
<FilesMatch "^\.(HhTt|DdSs_Ss)">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
1. Apple specific filesystem protection.
<Files "rsrc">
Order allow,deny
Deny from all
Satisfy All
</Files>
<DirectoryMatch ".*\.\.namedfork">
Order allow,deny
Deny from all
Satisfy All
</DirectoryMatch>
1. ErrorLog: The location of the error log file.
2. If you do not specify an ErrorLog directive within a <VirtualHost>
3. container, error messages relating to that virtual host will be
4. logged here. If you do define an error logfile for a <VirtualHost>
5. container, that host's errors will be logged there and not here.
ErrorLog "/private/var/log/apache2/error_log"
1. LogLevel: Control the number of messages logged to the error_log.
2. Possible values include: debug, info, notice, warn, error, crit,
3. alert, emerg.
LogLevel warn
<IfModule logconfigmodule>
1. The following directives define some format nicknames for use with
2. a CustomLog directive (see below).
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
1. You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
1. The location and format of the access logfile (Common Logfile Format).
2. If you do not define any access logfiles within a <VirtualHost>
1. container, they will be logged here. Contrariwise, if you do
2. define per-<VirtualHost> access logfiles, transactions will be
3. logged therein and not in this file.
CustomLog "/private/var/log/apache2/access_log" common
1. If you prefer a logfile with access, agent, and referer information
2. (Combined Logfile Format) you can use the following directive.
#CustomLog "/private/var/log/apache2/access_log" combined
</IfModule>
<IfModule alias_module>
1. Redirect: Allows you to tell clients about documents that used to
2. exist in your server's namespace, but do not anymore. The client
3. will make a new request for the document at its new location.
4. Example:
5. Redirect permanent /foo http://www.example.com/bar
1. Alias: Maps web paths into filesystem paths and is used to
2. access content that does not live under the DocumentRoot.
3. Example:
4. Alias /webpath /full/filesystem/path
1. If you include a trailing / on /webpath then the server will
2. require it to be present in the URL. You will also likely
3. need to provide a <Directory> section to allow access to
4. the filesystem path.
1. ScriptAlias: This controls which directories contain server scripts.
2. ScriptAliases are essentially the same as Aliases, except that
3. documents in the target directory are treated as applications and
4. run by the server when requested rather than as documents sent to the
5. client. The same rules about trailing "/" apply to ScriptAlias
6. directives as to Alias.
ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
</IfModule>
<IfModule cgid_module>
1. ScriptSock: On threaded servers, designate the path to the UNIX
2. socket used to communicate with the CGI daemon of mod_cgid.
#Scriptsock /private/var/run/cgisock
</IfModule>
1. "/Library/WebServer/CGI-Executables" should be changed to whatever your ScriptAliased
2. CGI directory exists, if you have that configured.
<Directory "/Library/WebServer/CGI-Executables">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
1. DefaultType: the default MIME type the server will use for a document
2. if it cannot otherwise determine one, such as from filename extensions.
3. If your server contains mostly text or HTML documents, "text/plain" is
4. a good value. If most of your content is binary, such as applications
5. or images, you may want to use "application/octet-stream" instead to
6. keep browsers from trying to display binary files as though they are
7. text.
DefaultType text/plain
<IfModule mime_module>
1. TypesConfig points to the file containing the list of mappings from
2. filename extension to MIME-type.
TypesConfig /private/etc/apache2/mime.types
1. AddType allows you to add to or override the MIME configuration
2. file specified in TypesConfig for specific file types.
#AddType application/x-gzip .tgz
1. AddEncoding allows you to have certain browsers uncompress
2. information on the fly. Note: Not all browsers support this.
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
1. If the AddEncoding directives above are commented-out, then you
2. probably should define those extensions to indicate media types:
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
1. AddHandler allows you to map certain file extensions to "handlers":
2. actions unrelated to filetype. These can be either built into the server
3. or added with the Action directive (see below)
1. To use CGI scripts outside of ScriptAliased directories:
2. (You will also need to add "ExecCGI" to the "Options" directive.)
#AddHandler cgi-script .cgi
1. For type maps (negotiated resources):
#AddHandler type-map var
1. Filters allow you to process content before it is sent to the client.
1. To parse .shtml files for server-side includes (SSI):
2. (You will also need to add "Includes" to the "Options" directive.)
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
</IfModule>
1. The modmimemagic module allows the server to use various hints from the
2. contents of the file itself to determine its type. The MIMEMagicFile
3. directive tells the module where the hint definitions are located.
#MIMEMagicFile /private/etc/apache2/magic
1. Customizable error responses come in three flavors:
2. 1) plain text 2) local redirects 3) external redirects
1. Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
1. EnableMMAP and EnableSendfile: On systems that support it,
2. memory-mapping or the sendfile syscall is used to deliver
3. files. This usually improves server performance, but must
1. be turned off when serving from networked-mounted
2. filesystems or if support for these functions is otherwise
3. broken on your system.
#EnableMMAP off
#EnableSendfile off
1. 6894961
TraceEnable off
1. Supplemental configuration
1. The configuration files in the /private/etc/apache2/extra/ directory can be
2. included to add extra features or to modify the default configuration of
3. the server, or you may simply copy their contents here and change as
4. necessary.
1. Server-pool management (MPM specific)
Include /private/etc/apache2/extra/httpd-mpm.conf
1. Multi-language error messages
#Include /private/etc/apache2/extra/httpd-multilang-errordoc.conf
1. Fancy directory listings
Include /private/etc/apache2/extra/httpd-autoindex.conf
1. Language settings
Include /private/etc/apache2/extra/httpd-languages.conf
1. User home directories
Include /private/etc/apache2/extra/httpd-userdir.conf
1. Real-time info on requests and configuration
#Include /private/etc/apache2/extra/httpd-info.conf
1. Virtual hosts
Include /private/etc/apache2/extra/httpd-vhosts.conf
1. Local access to the Apache HTTP Server Manual
Include /private/etc/apache2/extra/httpd-manual.conf
1. Distributed authoring and versioning (WebDAV)
#Include /private/etc/apache2/extra/httpd-dav.conf
1. Various default settings
#Include /private/etc/apache2/extra/httpd-default.conf
1. Secure (SSL/TLS) connections
#Include /private/etc/apache2/extra/httpd-ssl.conf
1. Note: The following must must be present to support
2. starting without SSL on platforms with no /dev/random equivalent
3. but a statically compiled-in mod_ssl.
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
Include /private/etc/apache2/other/*.conf
Also, this is the error when i run configtest :
sgiri:~ sgiri$ /usr/sbin/apachectl configtest
Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist
Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist
Syntax OK
Please help me.
Thanks in advance.

Thanks Camelot.
This is the error_log:
[Thu Sep 16 09:16:42 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Sep 16 09:16:42 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Sep 16 09:16:42 2010] [notice] Digest: done
[Thu Sep 16 09:16:42 2010] [notice] Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 configured -- resuming normal operations
[Thu Sep 16 14:44:29 2010] [notice] caught SIGTERM, shutting down
[Thu Sep 16 16:36:01 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd: aprsockaddr_infoget() failed for Sagar-Giris-MacBook-Pro.local
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Thu Sep 16 16:36:02 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Sep 16 16:36:02 2010] [notice] Digest: done
[Thu Sep 16 16:36:02 2010] [notice] Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 configured -- resuming normal operations
[Thu Sep 16 20:31:24 2010] [notice] caught SIGTERM, shutting down
[Fri Sep 17 00:38:18 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName
"error_log" [readonly] 1325L, 170941C
This is the error in access_log:
)VwDiI300-_parent_is_not_the_page_we_want_to_write_into_-_different_domain,_exception=Err or:Permission_denied_for%3Chttp://cats.about.com%3E_(document.domain=%3Chttp://cats.about.com%3E)to_get_property_Location.hostname_from%3Chttp://ad.doubleclick.net%3E_(document.domainhas_not_beenset). HTTP/1.1" 404 205
"access_log" [readonly] 150L, 17809C

Similar Messages

  • I have the Native AMP stack installed but apache not working

    i have the Native AMP stack installed but apache not working is there a way to reset apache manafaacture settings

    The following line tells me that this is not a template file, but a document created from a template called index.dwt
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
    This means that you saved a child document as a template file at some stage.
    If you go to Modify->Templates->Detach from Template, you can remove the template structure from your document. All you then need to do is to re-save the document as a template.

  • Web sharing/Apache not working

    My web sharing doesn't seem to be working.
    When I have it enabled in the Sharing panel of the System Preferences, I try to click on the link
    My Computer's Website
    http://myIPaddress
    I get an error message, in both Safari and Firefox, saying that I cannot make a connection to the server. This is similar to other threads in this section except for the following:
    - I do have a /var/log/apache2 directory
    - I did a chmod 755 on the directory
    - the directory is empty
    - http://localhost does not work
    when I look through a list of my tasks (on the Activity Monitor), I don't see anything related to apache so I'm wondering if my Web Sharing has not initiated the apache server.
    I'm running 10.5.6 on a PowerBook G4.
    Thanks in Advance

    You shouldn't see any apache items in Activity Monitor. I've got web sharing on, and I see a bunch of httpd processes in Activity Monitor. Try repairing permissions on your hard drive. Also, look for some config files located in /etc/apache2/. I see the following files/folders in there on my machine:
    drwxr-xr-x 13 root wheel 442 Nov 24 2007 extra
    -rw-r--r-- 1 root wheel 17684 Jan 27 07:21 httpd.conf
    -rw-r--r-- 1 root wheel 12958 Nov 24 2007 magic
    -rw-r--r-- 1 root wheel 28782 Nov 24 2007 mime.types
    drwxr-xr-x 4 root wheel 136 Aug 13 2008 original
    drwxr-xr-x 4 root wheel 136 Nov 24 2007 other
    drwxr-xr-x 3 root wheel 102 Aug 13 2008 users

  • Apache not working  with FMS 4.5 on Windows 2008

    FMS 4.5.1 Windows 2008 SP2 (64bit).
    I've searched everywhere for a possible solution to this, so my apologies if this has been asked before and my thanks for any potential help that anyone can offer to help resolve this.
    We are deploying Adobe Flash Media Server 4.5.1 on a new server but Apache does not work (does not serve html files or stream Quicktime H.264 files).
          Assorted Problems & Error messages:
    1.  The webroot/index.html page loads locally, but the HLS/HDS streams result in a 2032 error.
    2. The webroot/index.html page does not load from  external locations:
         http://63.116.232.5/index.html (does not load externally).
         http://63.116.232.6/index.html (our old server, FMS 4.0 and Windows 2003). Everything on this server works, the 2 major differences being that it is running FMS 4.x on Windows 2003.
    Some RTMP streaming works externally and internally (f4v files):
    http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.5/vod/mp4:sample1_1 50kbps.f4v
    FMS does not stream Quicktime H.264 files even though f4v files work.
       New server (does not work): http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.5/vod/mp4:Basketbal l.mov
                                  (f4v works): http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.5/vod/mp4:sample1_1 50kbps.f4v
    Old server (Quicktime/H.264 file works): http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.6/vod/mp4:Basketbal l.mov
    Apache does not serve Quicktime/H.264 files: I made sure that Apache had all of the correct mime types specified.
        Error messages and attempted solutions:
    Apache's erro_log file:
           a. httpd.exe: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    2. FMS master.log file
          a. FMSHttpd -k start returned 1:
    Solutions: http://wiki.apache.org/httpd/CouldNotDetermineServerName
    1a:  Edited httpd.conf file to include ServerName 63.116.232.5
    1b: The presence of this error message also indicates that Apache httpd was unable to obtain a fully-qualified hostname by doing a reverse lookup on your server's IP address.
    In order for the server to accept external connections a reverse DNS lookup needs to be created. I created a reverse DNS lookup and  edited the /etc/hosts file to include the IPaddress, Fully Qualified Domain Name (FQDN), shortname.
    This is the format suggested by the article:
    127.0.0.1       localhost.localdomain   localhost       foo.example.com
    Running the nbtstat -a 63.116.232.5 command on the machine results in the following:
    WIN-8AIHI2J0524<00>  UNIQUE      Registered
    THS-LIBRARY-VOD<00>  GROUP       Registered
    THS-LIBRARY-VOD<1C>  GROUP       Registered
    WIN-8AIHI2J0524<20>  UNIQUE      Registered
    THS-LIBRARY-VOD<1B>  UNIQUE      Registered
    So the FQDN = WIN-8AIHI2J0524.Ths-library-vod.local
    I edited the /etc/hosts to the following (with versions using the local host ip 127.0.0.1 and the external ip address, IPv4 is being used):
    63.116.232.5 WIN-8AIHI2J0524.Ths-library-vod.local
    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    I've also read Adobe's port configuration articles and  changed the ports that Apache and FMS use as specified in the conf/fms.ini file, but nothing has worked so far. I restored everything to the original settings until I can find out exactly how to fix this.
    Thank you.

    Ms. Apurva ,
    I changed the files back as you suggested (the failure was occuring with the default settings) and our admin assured me yesterday that the ports that I inquired about were open. I'll ask him again.
    The telenet command for both ports 80 and 1935 result in Connect failed for me. I'll check Windows Firewall (turned off)  and McAfee to see if there is anything there blocking ports.
    Confirm that external connections are blocked: 63.116.232.5/index.html (does not open outside of localhost). No problem accessing with our old server (63.116.232.6/index.html).
    I ran this command in nmap and here are the results (11 ports closed): nmap 63.116.232.5 -Pn80
    Starting Nmap 6.01 ( http://nmap.org ) at 2012-07-06 08:29 Eastern Standard Time
    Nmap scan report for 63.116.232.5
    Host is up (0.00092s latency). nmap -p 80 says that the host is down (for both ports).
    Not shown: 988 filtered ports
    PORT     STATE  SERVICE
    1720/tcp open   H.323/Q.931
    6000/tcp closed X11
    6001/tcp closed X11:1
    6002/tcp closed X11:2
    6003/tcp closed X11:3
    6004/tcp closed X11:4
    6005/tcp closed X11:5
    6006/tcp closed X11:6
    6007/tcp closed X11:7
    6009/tcp closed X11:9
    6025/tcp closed x11
    6059/tcp closed X11:59
    Nmap done: 1 IP address (1 host up) scanned in 5.72 seconds
    Host status: up
    open ports: 1
    filtered ports:988
    Closed ports:  11
    ipv4:63.116.232.5
    ipv6: not available
    MAC: not available.
    Master log file:
    2012-07-06
    09:22:41
    6712
    (i)2581173
    FMS config <NetworkingIPv6 enable=false>
    2012-07-06
    09:22:41
    6712
    (i)2581173
    FMS running in IPv4 protocol stack mode!
    2012-07-06
    09:22:41
    6712
    (i)2581173
    Host: WIN-8AIHI2J0524 IPv4: 10.250.10.1
    2012-07-06
    09:22:41
    6712
    (i)2571011
    Server starting...
    2012-07-06
    09:22:46
    6712
    (i)2581413
    H:\Program Files\Adobe\Flash Media Server 4.5\Apache2.2\bin\httpd -f ./conf/httpd.conf -d "H:\Program Files\Adobe\Flash Media Server 4.5\Apache2.2" -n FMSHttpd -k start returned 0:
    2012-07-06
    09:22:46
    6712
    (i)2581224
    Edge (1508) started, arguments : -edgeports ":1935" -coreports "localhost:19350" -conf "H:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1" -edgename "edge1".
    2012-07-06
    09:22:46
    6712
    (i)2571111
    Server started (H:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml).
    edge log:
    2012-07-06
    09:22:46
    1508
    (i)2581173
    FMS detected IPv6 protocol stack!
    2012-07-06
    09:22:46
    1508
    (i)2581173
    FMS config <NetworkingIPv6 enable=false>
    2012-07-06
    09:22:46
    1508
    (i)2581173
    FMS running in IPv4 protocol stack mode!
    2012-07-06
    09:22:46
    1508
    (i)2581173
    Host: WIN-8AIHI2J0524 IPv4: 10.250.10.1
    2012-07-06
    09:22:47
    1508
    (i)2631174
    Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4
    2012-07-06
    09:22:48
    1508
    (i)2631174
    Listener started ( _defaultRoot__edge1 ) : 1935/v4
    2012-07-06
    09:22:49
    1508
    (i)2631174
    Listener started ( _defaultRoot__edge1 ) : 10.250.10.1:19350 (rtmfp-core)/v4
    2012-07-06
    09:22:49
    1508
    (i)2631174
    Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:19350 (rtmfp-core)/v4
    2012-07-06
    09:22:49
    1508
    (i)2631509
    Public rtmfp-core addresses for listener _defaultRoot__edge1 are: 10.250.10.1:19350;127.0.0.1:19350
    2012-07-06
    09:22:49
    1508
    (i)2631174
    Listener started ( _defaultRoot__edge1 ) : 10.250.10.1:1935 (rtmfp)/v4
    2012-07-06
    09:22:49
    1508
    (i)2631174
    Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:1935 (rtmfp)/v4
    Not sure what to do.
    Thanks.

  • Php Moodule for Apache not working

    Hi buddies
    I have installed Solaris 10 on SPARC SUN 280R Fiber channel. I was able to configure apache. When I tried to installed phpnuke it was susccessful as long as the files path are concerned the Mysql dbase was also susccess ful. When the I access the Document root the php module seems to be not working as the displayed index.php was just text page. I tried with apache2 as well but the result was the same.
    Please help me how resolve php module issue.
    Raja Inayat
    Sysadmin
    IT-Services Centre
    University of Peshawar
    Pakistan
    email: [email protected]
    [email protected]

    root the php module seems to be not working as the
    displayed index.php was just text page. I tried with
    apache2 as well but the result was the same.I don't believe the apache included with Solaris 10 includes PHP support; you will probably have to re-compile it . See the README file in /etc/apache for the actual config of the distributed version.

  • Oracle & PHP/Apache not working togather for unicode (working individually)

    hi, i have oracle xe zend core for oracle installed.
    When i insert data through aplication express or oracle sql developer its perfect. Unicode can be inserted and viewed, but when I try to view same data through php script it display ??? signs only english character show properly.
    Seems the unicode enviourment issue with php/apache and oracle communication, as php pages display uniode correctly when not taking data from oracle. I need help
    I have gone through globlizing_oracle_php_applications.pdf and have enabled mbstring, also php charset is utf8 i also used 'AL32UTF8' in connection string.
    Also if someone can provide a small sample php script to insert or view unicode data.
    thanks

    root the php module seems to be not working as the
    displayed index.php was just text page. I tried with
    apache2 as well but the result was the same.I don't believe the apache included with Solaris 10 includes PHP support; you will probably have to re-compile it . See the README file in /etc/apache for the actual config of the distributed version.

  • Apache not working after time machine restore

    i had major problems upgrading to 10.5.3. after trying everything and hoping to avoid reverting to a backup, it was apparent i would have to revert. turns out, it was quite easy since i had a recent TM backup. now, i'm back to 10.5.2 fine, but for what ever reason i cannot getweb sharing ... my apache site ... running.
    i've checked to see that all the necessary config files are there and my content is all there and in the system preferences, web sharing is on. but when i go to 192.168.1.11 (which happens to be the internal IP address for this machine), i get nothing.
    not being super apache experienced, i'm lacking the troubleshooting knowledge to figure out why it's not working.
    please advise.
    thanks!!!!

    thanks. yes, currently, i'm back to running 10.5.2.
    here's the contents of org.apache.httpd.plist:
    Davids-Computer:launchdaemons dac$ cat org.apache.httpd.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>org.apache.httpd</string>
    <key>OnDemand</key>
    <false/>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/sbin/httpd</string>
    <string>-D</string>
    <string>FOREGROUND</string>
    </array>
    <key>SHAuthorizationRight</key>
    <string>system.preferences</string>
    </dict>
    </plist>
    Davids-Computer:launchdaemons dac$
    and as far as system.log, there's definitely a problem... it's quite long with the following repeated over and over seemingly non-stop:
    Jun 5 06:15:54 Davids-Computer org.apache.httpd[17922]: (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    Jun 5 06:15:54 Davids-Computer org.apache.httpd[17922]: Unable to open logs
    Jun 5 06:15:54 Davids-Computer com.apple.launchd[1] (org.apache.httpd[17922]): Exited with exit code: 1
    Jun 5 06:15:54 Davids-Computer com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
    Jun 5 06:16:02 Davids-Computer com.apple.launchd[1] (com.memeo.WDMemeod[17923]): posix_spawnp("/Library/Application Support/Memeo/WD Anywhere Backup/Daemons/WDMemeod", ...): No such file or directory
    Jun 5 06:16:02 Davids-Computer com.apple.launchd[1] (com.memeo.WDMemeod[17923]): Exited with exit code: 1
    Jun 5 06:16:02 Davids-Computer com.apple.launchd[1] (com.memeo.WDMemeod): Throttling respawn: Will start in 10 seconds
    Jun 5 06:16:04 Davids-Computer org.apache.httpd[17924]: (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    Jun 5 06:16:04 Davids-Computer org.apache.httpd[17924]: Unable to open logs
    Jun 5 06:16:04 Davids-Computer com.apple.launchd[1] (org.apache.httpd[17924]): Exited with exit code: 1
    Jun 5 06:16:04 Davids-Computer com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
    Jun 5 06:16:12 Davids-Computer com.apple.launchd[1] (com.memeo.WDMemeod[17926]): posix_spawnp("/Library/Application Support/Memeo/WD Anywhere Backup/Daemons/WDMemeod", ...): No such file or directory
    Jun 5 06:16:12 Davids-Computer com.apple.launchd[1] (com.memeo.WDMemeod[17926]): Exited with exit code: 1
    Jun 5 06:16:12 Davids-Computer com.apple.launchd[1] (com.memeo.WDMemeod): Throttling respawn: Will start in 10 seconds
    Jun 5 06:16:14 Davids-Computer org.apache.httpd[17927]: (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    Jun 5 06:16:14 Davids-Computer org.apache.httpd[17927]: Unable to open logs
    Jun 5 06:16:14 Davids-Computer com.apple.launchd[1] (org.apache.httpd[17927]): Exited with exit code: 1
    Jun 5 06:16:14 Davids-Computer com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
    Davids-Computer:log dac$

  • The Web Agent for Apache not working

    Any chances to put the last version of Web Agent (im8154) working with Apache in Linux?
    I4m using a Red Hat 6.2 system with Apache 1.3.12 and I compile the web agent without errors. In the some box I use php40 with Apache and I connect and use my Oracle database in another machine without problem.
    All the enviroment is set (ORACLE_HOME, LD_LIBRARY_PATH, PATH) and I even put the Apache user running as oracle.dba
    The problem is always the some: the Apache don4t find any page (404 in the log) in the /intermedia path. It4s seems that dont fire the web agent module that is compiled (I confirm with httpd -l) into. I can put anything in the httpd.conf in the Intermedia Location section that the symtom is the same: no errors, no logs in ORACLE_HOME/ord/web/log or in the /tmp, nothing at all. Just "Page not Found". But the others Location sections are working like the server-status.
    Any ideias people?
    Fernando Soares

    Any chances to put the last version of Web Agent (im8154) working with Apache in Linux?
    I4m using a Red Hat 6.2 system with Apache 1.3.12 and I compile the web agent without errors. In the some box I use php40 with Apache and I connect and use my Oracle database in another machine without problem.
    All the enviroment is set (ORACLE_HOME, LD_LIBRARY_PATH, PATH) and I even put the Apache user running as oracle.dba
    The problem is always the some: the Apache don4t find any page (404 in the log) in the /intermedia path. It4s seems that dont fire the web agent module that is compiled (I confirm with httpd -l) into. I can put anything in the httpd.conf in the Intermedia Location section that the symtom is the same: no errors, no logs in ORACLE_HOME/ord/web/log or in the /tmp, nothing at all. Just "Page not Found". But the others Location sections are working like the server-status.
    Any ideias people?
    Fernando Soares

  • Having 2 PathTrim in Apache not working

    Hi,
    please shed light on why This might not be working, I am using Apache 2.0
    <Location /Loc1>
    SSLRequireSSL
    Debug ON
    WLLogFile /tmp/plugin1.log
    SetHandler weblogic-handler
    SecureProxy ON
    TrustedCAFile vrty.crt
    RequireSSLHostMatch false
    PathTrim /Loc1
    WebLogicCluster worker.us.com:445
    </Location>
    <Location /Loc2>
    SSLRequireSSL
    Debug ON
    WLLogFile /tmp/n0.log
    SetHandler weblogic-handler
    SecureProxy ON
    TrustedCAFile cert.crt
    RequireSSLHostMatch false
    PathTrim /Loc2
    WebLogicCluster workder.us.com:2323
    </Location>
    Every time the Pathtrim that is placed at the end of the file is coming into picture. And always it tries to trim Loc2
    Tks, Nag

    Try contacting Xperia care who may have a solution for you and if not then you'd be best returning them to the place of purchase http://www.sonymobile.com/global-en/support/contact-us/
    For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.   Richard P. Feynman

  • Help Apache not working since 10.4.10 upgrade

    Hello
    I have web sharing turned on and I run a small web page on my mac to host photos and such. It was working great until I upgraded to 10.4.10. Now nothing will connect to my web server at all. I have a power PC mac. When I turn on web sharing on my wife's Intel iMac it works fine (i see the apache splash page). Does anyone know what could be broken in 10.4.10? I've tried to restart the web server a few times (it goes on and off but nothing can connect to it).
    -Josh

    I'm a little embarrassed. FIOS happened to change my IP address (after having it be static for over 3 months) at the exact time I updated to 10.4.10. All I had to do was update my DNS entry and all worked fine. It was tough to figure out because I redirect to 8080 to get around FIOS's residential service blocking port 80 (which Comcast never did, also I had the same exact IP address with comcast for 4 years despite it being "dynamic"). I thought I was having Apache problems, then I thought it was PHP. It ended up being quite a simple problem. Thanks for your help all.
    -Josh

  • Https apache not working with IE

    as of a couple patches ago, IE clients stopped being able to access https pages on my server. any attempt to access an https page on my server gives the standard IE "The page cannot be displayed" page. i haven't done anything magical or unusual to my apache config. i have tried the SetEnvIf and the SSLCipherSuite solutions to certain IE I/O errors, but they do not seem to solve my problems. anyone have any insights for me?

    yes, I have the same problem and am about 24hrs from losing all my ecommerce clients because of it. If anyone at apple can assist please respond ASAP. I have tried using older binaries of OpenSSL 0.9.7g (instead of i) and libssl.so with no luck. I have adusted httpd.conf for SSLv3 and backing up to SSLV2 using the SSLProtocol and SSLCipherSuite
    and have the old fix for ie:
    SetEnvIf User-Agent ".MSIE." \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0

  • Apache not working properly

    Trying to run Apache so that I can create a testing server on my mac.When I start apache it starts, but it doesn't run (no connection to local host. Ill upload the unix,you'll see that after starting there is no processes, and I did a check to show you what was running on my port 80... I don't entirely know that means.
    Michaels-MacBook-Pro-3:~ michaelramos$ sudo apachectl start
    Michaels-MacBook-Pro-3:~ michaelramos$ ps aux | grep httpd
    michaelramos      348   0.0  0.0  2442000    624 s000  S+    8:51AM   0:00.00 grep httpd
    Michaels-MacBook-Pro-3:~ michaelramos$ sudo apachectl start
    org.apache.httpd: Already loaded
    Michaels-MacBook-Pro-3:~ michaelramos$ sudo lsof -i ':80'
    COMMAND   PID         USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
    ocspd      96         root   18u  IPv4 0x8402f926599c58df      0t0  TCP dhcp-92-67.radford.edu:49267->108.162.232.196:http (ESTABLISHED)
    ocspd      96         root   20u  IPv4 0x8402f926599c58df      0t0  TCP dhcp-92-67.radford.edu:49267->108.162.232.196:http (ESTABLISHED)
    ocspd      96         root   21u  IPv4 0x8402f926599c50f7      0t0  TCP dhcp-92-67.radford.edu:49268->108.162.232.206:http (ESTABLISHED)
    ocspd      96         root   23u  IPv4 0x8402f926599c50f7      0t0  TCP dhcp-92-67.radford.edu:49268->108.162.232.206:http (ESTABLISHED)

    If you call the URL http://boserver/InfoViewApp do you see the login screen for the InfoView?
    Regards,
    Stratos

  • Weblogic Http Apache Plugin not working

    Hi,
    I have installed weblogic server 10.3 on WindowsXP Professional and Http Apache 2.2 is running on port 80. I followed the following document to configure the Apache plugin:
    http://e-docs.bea.com/wls/docs103/plugins/apache.html
    but when I go and test the plugin it always comes back with 404 page not found. As per the documentation I am testing it as
    http://localhost:80/weblogic/
    Here is my httpd.conf
    Include "C:/bea/alui/plumtreeconf/"
    # This is the main Apache HTTP server configuration file.  It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do.  They're here only as hints or reminders.  If you are unsure
    # consult the online docs. You have been warned. 
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path.  If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
    # with ServerRoot set to "C:/Program Files/Apache Software Foundation/Apache2.2" will be interpreted by the
    # server as "C:/Program Files/Apache Software Foundation/Apache2.2/logs/foo.log".
    # NOTE: Where filenames are specified, you must use forward slashes
    # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
    # If a drive letter is omitted, the drive on which httpd.exe is located
    # will be used by default.  It is recommended that you always supply
    # an explicit drive letter in absolute paths to avoid confusion.
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path.  If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk.  If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    #LoadModule auth_digest_module modules/mod_auth_digest.so
    #LoadModule authn_alias_module modules/mod_authn_alias.so
    #LoadModule authn_anon_module modules/mod_authn_anon.so
    #LoadModule authn_dbd_module modules/mod_authn_dbd.so
    #LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authn_file_module modules/mod_authn_file.so
    #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    #LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_host_module modules/mod_authz_host.so
    #LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule autoindex_module modules/mod_autoindex.so
    #LoadModule cache_module modules/mod_cache.so
    #LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule cgi_module modules/mod_cgi.so
    #LoadModule charset_lite_module modules/mod_charset_lite.so
    #LoadModule dav_module modules/mod_dav.so
    #LoadModule dav_fs_module modules/mod_dav_fs.so
    #LoadModule dav_lock_module modules/mod_dav_lock.so
    #LoadModule dbd_module modules/mod_dbd.so
    #LoadModule deflate_module modules/mod_deflate.so
    LoadModule dir_module modules/mod_dir.so
    #LoadModule disk_cache_module modules/mod_disk_cache.so
    #LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule env_module modules/mod_env.so
    #LoadModule expires_module modules/mod_expires.so
    #LoadModule ext_filter_module modules/mod_ext_filter.so
    #LoadModule file_cache_module modules/mod_file_cache.so
    #LoadModule filter_module modules/mod_filter.so
    #LoadModule headers_module modules/mod_headers.so
    #LoadModule ident_module modules/mod_ident.so
    #LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule include_module modules/mod_include.so
    #LoadModule info_module modules/mod_info.so
    LoadModule isapi_module modules/mod_isapi.so
    #LoadModule ldap_module modules/mod_ldap.so
    #LoadModule logio_module modules/mod_logio.so
    LoadModule log_config_module modules/mod_log_config.so
    #LoadModule log_forensic_module modules/mod_log_forensic.so
    #LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule mime_module modules/mod_mime.so
    #LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule proxy_module modules/mod_proxy.so
    #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    #LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    #LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule setenvif_module modules/mod_setenvif.so
    #LoadModule speling_module modules/mod_speling.so
    #LoadModule ssl_module modules/mod_ssl.so
    #LoadModule status_module modules/mod_status.so
    #LoadModule substitute_module modules/mod_substitute.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    #LoadModule userdir_module modules/mod_userdir.so
    #LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule version_module modules/mod_version.so
    #LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule weblogic_module modules/mod_wl_22.so
    <IfModule mod_weblogic.c>
      WebLogicHost localhost
      WebLogicPort 7001
    </IfModule>
    <Location /weblogic>
      SetHandler weblogic-handler
      PathTrim /weblogic
    </Location>
    <IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch. 
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User daemon
    Group daemon
    </IfModule>
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition.  These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed.  This address appears on some server-generated pages, such
    # as error documents.  e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName localhost:80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features. 
    ProxyRequests On
    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">
        # Possible values for the Options directive are "None", "All",
        # or any combination of:
        #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
        # Note that "MultiViews" must be named *explicitly* --- "Options All"
        # doesn't give it to you.
        # The Options directive is both complicated and important.  Please see
        # http://httpd.apache.org/docs/2.2/mod/core.html#options
        # for more information.
        Options Indexes FollowSymLinks
        # AllowOverride controls what directives may be placed in .htaccess files.
        # It can be "All", "None", or any combination of the keywords:
        #   Options FileInfo AuthConfig Limit
        AllowOverride None
        # Controls who can get stuff from this server.
        Order allow,deny
        Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
        DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
        Order allow,deny
        Deny from all
        Satisfy All
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here.  If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "logs/error.log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
        # The following directives define some format nicknames for use with
        # a CustomLog directive (see below).
        LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
        LogFormat "%h %l %u %t \"%r\" %>s %b" common
        <IfModule logio_module>
          # You need to enable mod_logio.c to use %I and %O
          LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
        </IfModule>
        # The location and format of the access logfile (Common Logfile Format).
        # If you do not define any access logfiles within a <VirtualHost>
        # container, they will be logged here.  Contrariwise, if you *do*
        # define per-<VirtualHost> access logfiles, transactions will be
        # logged therein and *not* in this file.
        CustomLog "logs/access.log" common
        # If you prefer a logfile with access, agent, and referer information
        # (Combined Logfile Format) you can use the following directive.
        #CustomLog "logs/access.log" combined
    </IfModule>
    <IfModule alias_module>
        # Redirect: Allows you to tell clients about documents that used to
        # exist in your server's namespace, but do not anymore. The client
        # will make a new request for the document at its new location.
        # Example:
        # Redirect permanent /foo http://localhost/bar
        # Alias: Maps web paths into filesystem paths and is used to
        # access content that does not live under the DocumentRoot.
        # Example:
        # Alias /webpath /full/filesystem/path
        # If you include a trailing / on /webpath then the server will
        # require it to be present in the URL.  You will also likely
        # need to provide a <Directory> section to allow access to
        # the filesystem path.
        # ScriptAlias: This controls which directories contain server scripts.
        # ScriptAliases are essentially the same as Aliases, except that
        # documents in the target directory are treated as applications and
        # run by the server when requested rather than as documents sent to the
        # client.  The same rules about trailing "/" apply to ScriptAlias
        # directives as to Alias.
        ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
        # ScriptSock: On threaded servers, designate the path to the UNIX
        # socket used to communicate with the CGI daemon of mod_cgid.
        #Scriptsock logs/cgisock
    </IfModule>
    # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value.  If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
        # TypesConfig points to the file containing the list of mappings from
        # filename extension to MIME-type.
        TypesConfig conf/mime.types
        # AddType allows you to add to or override the MIME configuration
        # file specified in TypesConfig for specific file types.
        #AddType application/x-gzip .tgz
        # AddEncoding allows you to have certain browsers uncompress
        # information on the fly. Note: Not all browsers support this.
        #AddEncoding x-compress .Z
        #AddEncoding x-gzip .gz .tgz
        # If the AddEncoding directives above are commented-out, then you
        # probably should define those extensions to indicate media types:
        AddType application/x-compress .Z
        AddType application/x-gzip .gz .tgz
        # AddHandler allows you to map certain file extensions to "handlers":
        # actions unrelated to filetype. These can be either built into the server
        # or added with the Action directive (see below)
        # To use CGI scripts outside of ScriptAliased directories:
        # (You will also need to add "ExecCGI" to the "Options" directive.)
        #AddHandler cgi-script .cgi
        # For type maps (negotiated resources):
        #AddHandler type-map var
        # Filters allow you to process content before it is sent to the client.
        # To parse .shtml files for server-side includes (SSI):
        # (You will also need to add "Includes" to the "Options" directive.)
        #AddType text/html .shtml
        #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type.  The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://localhost/subscription_info.html
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files.  This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    #Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    #Include conf/extra/httpd-autoindex.conf
    # Language settings
    #Include conf/extra/httpd-languages.conf
    # User home directories
    #Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    #Include conf/extra/httpd-default.conf
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    #       starting without SSL on platforms with no /dev/random equivalent
    #       but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>Is there anything else I need to add to this file. As I am trying to install ALUI and for this I need to add the plugin as when I go to my portal page none of the
    images shows. Any help is appreciated.
    Thanks

    Hi,
    There is patch for the webserver(Apache Plugin),thats needs to be downloaded from Metalink,dont use the default plugin that comes with the weblogic 10.3 installtion.
    Regards,
    Dinesh

  • Apache Plugin is not working with Cluster Entry in httpd.conf

    Hi Guys,
    We have a very particular issue that is happening here in our production environments. Before explaining the issue to you, I will just give a brief of our architecture.
    We are using Weblogic Portal Platform SP4.
    Our current Production Domain Consists of 1 Admin Server and 2 Managed Servers. The managed servers are in a cluster.
    We have two Linux boxes on which the weblogic servers are running. These two machines have IPs: x.x.x.58 and x.x.x.59. Now, the Admin Server and managed Server 1 are started on the machine x.x.x.58 and managed server 2 is started on the machine x.x.x.59. Both the managedServers listen on port 8007.
    This entire setup mentioned in the above paragraph is at a location A (lets say).
    Now, the requests are proxied to the managed server cluster using BEA's Apache plugin residing on Apache. Apache is running on two Linux boxes that are present at a location B.
    Location B is connected to Location A by a dedicated WAN Link.
    Now, before the two Apache servers there is a physical Load Balancer that balances the requests between the two Apache boxes.
    This means that whenever there is a request from the Internet to the weblogic cluster, the load balancer first sends it to either of the Apache servers and then the BEA Apache plugin on that Apache forwards the request via the 2 mbps WAN link to the weblogic cluster.
    Now following is the description of the issue we are facing. We donot know whether the issue is with the plugin or with weblogic server.
    In order that the plugin load balances the requests between the servers in the cluster and for failover, the following entry was put in httpd.conf on both the Apache Servers.
    WebLogicCluster y.y.y.11:8007,y.y.y.13:8007
    Note: Because of the WAN link there is natting used. This implies y.y.y.11 is natted to x.x.x.58 and y.y.y.13 is natted to x.x.x.59.
    Here in lies the issue. When we use this plugin entry the following issue occurs.
    1.     First we go to the home page and login.
    2.     The user is then redirected to a Portal Desktop fitting those credentials.
    3.     Now on this Portal Desktop, invariably whenever we click any of the desktop's links, an HTTP 403 is thrown. This error is thrown because on the desktop there are entitlements so that it cannot be accessed without a user logging in with credentials. But this error indicates that the server is losing the session and entitlement details.
    Why does this happen?
    As a result, we cannot use that plugin entry. The current entry we have is
    WebLogicHost y.y.y.11
    WebLogicPort 8007
    As you can see, here we are only redirecting to one managed server. This entry is not what we want, obviously because if that server fails, the plugin wont know which other server to pass the request on to. Also in this case there is no load balancing.
    Our issues our,
    1. How to resolve this plugin entry issue. How can we use the cluster entry without encountering this HTTP 403 Error?
    3. Consider the following sequence of steps.
    - Request for the home page is served by Apache Server 1
    - User logins in, the login request is sent by the Load Balancer to Apache Server 1 and plugin on Apache Server 1 sends it to the cluster via WAN l ink. Then the internal mechanism works with creating the session id and primary server and secondary server and logs the user in and sends the response via Apache Server 1.
    - Now, the user clicks a link on the desktop. The request now goes to the load balancer and it sends it to Apache Server 2.
    The question is now does the plugin on Apache server 2 correctly understand and send the request to the primary server of that session.
    Pls help me as to giving me some direction in resolving this issue

    From your Xorg.0.log:
    (II) fglrx(0): DRIScreenInit done
    (II) fglrx(0): Kernel Module Version Information:
    (II) fglrx(0): Name: fglrx
    (II) fglrx(0): Version: 8.49.7
    (II) fglrx(0): Date: May 12 2008
    (II) fglrx(0): Desc: ATI FireGL DRM kernel module
    (WW) fglrx(0): Kernel Module version does *not* match driver.
    (EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work
    You have to quit X, then rmmod and modprobe the kernel module - you're still using the old one.  (a reboot would technically fix it too)
    # rmmod fglrx
    # modprobe fglrx
    # dmesg | tail
    The dmesg output should say you've successfully loaded the 8.501 driver.

  • JSPs and Servlets do not work on Apache HTTP- Procesor Intel P4

    Computer description: Intel Pentium 4 processor with 20GB HD
    drive, 1GB RAM, Windows 2000Pro, Service pack II
    Before installation:
    We created a temporary directory on our Intel Pentium. 4
    processor server (e.g. \TEMP).
    Copied the contents of the Oracle* Server CD to the temporary
    directory.
    Renamed each copy of the SYMCJIT.DLL to SYMCJIT.OLD.
    Set the java_compiler=none environment variable.
    Installation:
    We run the SETUP.EXE from the \TEMP\install\win32 directory and
    install Oracle 8.1.7 EE Rel 3 Typical
    Configuration tool Net8 Configuration Assistant succeeded
    Configuration tool Oracle Database Configuration Assistant
    succeeded
    Configuration tool Starting Oracle HTTP service: 7 times error
    message (java.exe has generated errors and will be closed by
    Windows, You will need to restart the
    program, An error log is being created)
    HTTP server responses.
    All Java programs do not respond (e.g. IsItWorking does not work)
    After installation:
    Open the jserv.conf file chack that ApJServManual is set to Off.
    set ApJServLogLevel debug (will give more informative errors for
    debugging)
    set ApJServDefaultHost www.in.oracle.com (to your machine name
    with the
    domain name or IP address)
    set ApjServDefaultPort 80000
    Open the jserv.properties files and make the following changes:
    bindaddress=www.in.oracle.com (Same name as ApJServDefaultHost
    in jserv.conf)
    port=80000 (same port as in the jserv.conf)
    Enable all log options in jserv.properties:
    log=true
    log.file=/usr/local/apache/var/log/jserv.trace
    log.timestamp=true
    log.dateFormat=[yyyyMMdd HHmmss:SSS]
    log.channel.init=true
    log.channel.terminate=true
    log.channel.serviceRequest=true
    log.channel.authentication=true
    log.channel.requestData=true
    log.channel.responseHeaders=true
    log.channel.signal=true
    log.channel.exceptionTracing=true
    log.channel.servletManager=true
    Java servlets and JSP still do not redspond.
    If we try to start HTTP server from Windows service, we always
    get message: unable to locate dll: The dynamic link
    library Perl.dll could not be found in the secified path (our
    path: C:\oracle\ora81\bin;C:\oracle\ora81\Apache\Perl\5.00503
    \bin\mswin32-x86;
    C:\Program Files\Oracle\jre\1.1.7
    \bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;) and
    error message: Could not start
    OracleOraHome81HTTPServer service on local computer. The service
    did not respond to the start or control request in a
    timely fashion.
    Starting Oracle HTTP service from Start/Programs/Oracle: 7 times
    error message (java.exe has generated errors and will be closed
    by Windows, You will need to restart the
    program, An error log is being created)
    We tested also modifications of oraparam.ini
    a. Copy only the install directory from the CD to the hard
    disk ,say, e:\temp.
    b. Open oraparam.ini and make the following modifications
    (Assuming CD
    drive is f:)
    * Change the "SOURCE=" line to use the full path to the CD
    instead of a
    relative path. (i.e., SOURCE=f:\stage\products.jar)
    * Change the "JRE_LOCATION" line to use the full path to the CD
    instead of a
    relative path. (i.e.,
    JRE_LOCATION=f:\stage\Components\oracle\swd\jre\1.1.7\1
    \DataFiles\Expanded)
    * Change the "OUI_LOCATION" line to use the full path to the CD
    instead of a
    relative path. (i.e.,
    OUI_LOCATION=f:\stage\Components\oracle\swd\oui\1.6.0.9.0\1
    \DataFiles\Expanded
    * Change the "JRE_MEMORY_OPTIONS" line to add "-nojit" as the
    first argument.
    (i.e., JRE_MEMORY_OPTIONS=-nojit -ms16m -mx32m)
    ^^^^^^
    * Other entries should remain the same
    c. Launch setup.exe from the temporary location on your hard
    drive (i.e.
    e:\temp\install\ win32\setup.exe). This will use the modified
    oraparam.ini and pick up the information from the CD since the
    absolute
    locations are specified.
    After that modification of oraparam.ini, the HTTPServer does not
    respond at all.
    So we undo changes on oraparam.ini and reinstall HTTP.
    We copied SYMCJIT.DLL and jvm.dll from JDK 1.1.8_008 to
    Apache\jdk\..
    Since then at least the demo IsItWorking responses, but database
    connection can not be established. But jsp demo still do not?
    THX in advance
    Neja

    I'm still having problems with Portal config (as part of 9iAS) on
    a P4 but i have cleared the hurdle of the HTTP listener (i
    think).
    I downloaded and installed the JRE that is P4 compatible from
    www.sun.com (it puts it under c:\program files)
    then overwrote all the files in the jre directories in the cd
    staging area with the files from Sun (i.e. all symcjit.dll
    locations). I also had to put a file "javai.dll" in the same
    directory as the file "java.exe". This got the install all
    working.
    The service will fail first time because the install creates
    another set of incompatible jre files. You must again search for
    symcjit and repeat the above procedure.
    You must also overwrite the files in the c:\program
    files\oracle\inventory\jre directories (sorry cant remember exact
    path).
    Hope this helps.
    Mark Gornicki
    PS if anyone knows why Portal config hangs at 67%
    (before/during/after processing "bulkload.jar" section) please
    let me know :-)

Maybe you are looking for