Apache CGI not Working

For some reason scripts, including the ones packaged with FMIS 3.5.2, are not executing in the script alias defined in httpd.conf. When I access a cgi script from a browser it simply prints the code to the screen, but I can execute the scripts from the command line. Has anyone else experienced the same problem?

http://xerces.apache.org/mirrors.cgi#binary
Also needs to be under Java 1.6

Similar Messages

  • 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 SSL not working

    Hello,
    I Have a SLES 11 SP1 Web access server running the newest groupwise. I have configured the SSL vhost but apache does not listen on port 443. In fact it appears as if the vhost is ignored. I have a SLES10 SP4 WebAcc server that runs SSL just fine and I have been using its configs as a base.
    Any ideas?
    SSL vhost:
    # Template for a VirtualHost with SSL # Note: to use the template, rename it to - Pastebin.com
    Thanks in advance!
    -Will

    On 21/11/2011 04:16, clintosaurus wrote:
    > I Have a SLES 11 SP1 Web access server running the newest groupwise. I
    > have configured the SSL vhost but apache does not listen on port 443. In
    > fact it appears as if the vhost is ignored. I have a SLES10 SP4 WebAcc
    > server that runs SSL just fine and I have been using its configs as a
    > base.
    >
    > Any ideas?
    Does /etc/sysconfig/apache2 have 'ssl' included in APACHE_MODULES?
    Does /etc/sysconfig/apache2 have 'SSL' included in APACHE_SERVER_FLAGS?
    HTH.
    Simon
    Novell Knowledge Partner (NKP)
    Do you work with Novell technologies at a university, college or school?
    If so, your campus could benefit from joining the Novell Technology
    Transfer Partner (TTP) program. See novell.com/ttp for more details.

  • Built-in Apache webserver not working after upgrade to Lion?

    Since the update to Lion the built in Apache web server won't start. When I click on the box in "System Settings" -> "Sharing" the little light briefly turns yellow and the box unchecks again. I could not find any error message in the console. Any suggestions?

    Take a look at https://discussions.apple.com/message/15710540#15710540
    Worked for me.

  • FollowSymLinks Apache directive not working in Lion

    I'm creating symbolic links in /Library/WebServer/Documents & I'm getting permissions errors.
    This works fine on Snow Leopard, not on Lion.
    I note that the httpd.conf file entry for /Library/WebServerDocuments sets the following options:
    Options Indexes FollowSymLinks MultiViews
    So, it should be working, I would think.  The links are owned by root/wheel and have lrwxr-xr-x permissions.
    The directory being linked is owned by <me>/wheel, and has rwxr-xr-x permissions.
    As an also - I tried to create the personal website folder in the web sharing preferences.  It created a 'sites' folder in my '~' folder.  I can't navigate into that, either...
    I've stopped and started the apache2/httpd server several times - no change.
    Not sure where to go from here... maybe a groups/ownership issue?

    I have the same problem. My situation is symlink could only work under /Library/WebServer/Documents, but does't work under ~/Sites. Even when they are in the same directory. For example:
    http://me.local/test.aaa.js     => this could be visited, and it is located at: ~/Sites/test.aaa.js
    If i ln -s test.aaa.js test.js under ~/Sites,
    visiting http://me.local/test.js would give "403 Forbidden".
    and in apache log,
    "Symbolic link not allowed or link target not accessible"
    Dont know what's wrong...(OSX 10.7.3)
    Have you fix this problem?

  • PDF printing with oc4j apache fop not working

    I am configuring PDF printing in Apex 3.1.1. I have set up a shared component report query with a simple query. I have implemented the oc4j standalone and implemented the fop.war as specified in the "pdf printing in Apex" documentation. When I use the test button to verify the output of the report, I am redirected to a 404-page not found and the oc4j instance logs the following:
    08/09/09 12:02:36 [ERROR] Logger not set
    08/09/09 12:02:36 [INFO] Using oracle.xml.parser.v2.SAXParser as SAX2 Parser
    08/09/09 12:02:36 [INFO] building formatting object tree
    08/09/09 12:02:36 [INFO] setting up fonts
    08/09/09 12:02:36 [INFO] [1]
    08/09/09 12:02:36 [WARNING] table-layout=auto is not supported, using fixed!
    08/09/09 12:02:36 [WARNING] Sum of fixed column widths 662000 greater than maximum specified IPD 658800
    08/09/09 12:02:36 [INFO] Parsing of document complete, stopping renderer
    Any ideas why this is happening?
    Database is oracle 9.2.0.7
    OC4J standalone 10.1.3

    Hello,
    Just did some more search on this, and apparently it's a more common problem:
    Re: PDF problem FOP mod_plsql: /pls/apex/wwv_flow.accept ORA-22293
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Apache is not working

    I had installed apache and everything was ok, until I ran a program in c that when a browser sent request, it served a web page using sockets. After that, whenever I typed localhost, it showed me my Documents directory. Then I configured the files a bit and took a forbidden error. Now I uninstalled apache and php using the rn options but now I get this error when I type localhost:
    Forbidden
    You don't have permission to access / on this server.
    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    Ok, I fixed the problem by scrolling down, after the spot where you choose the directory and set the second one to the same as the first.

  • 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.

  • How do I get Apache web server working ...

    How do I get Apache web server working on my MacBook Pro, which is running Leopard 10.5.8?
    When I enter 'http://localhost/~username/' (without the quote marks) as a URL in my Firefox browser on the MacBook, I do not see any result at all(!). I do have Web Sharing on in System Preferences on that machine. But the browser does nothing whatever for that URL ...
    On my other computer, an iMac running Leopard 10.5.8, when I enter 'http://localhost/~username/' I see the default "Your Website Here" page. That same default page is in fact the index.html file I expect to see on the MacBook Pro. But it isn't getting invoked for some reason. Nothing is happening ...
    When on the iMac I try 'http://10.0.1.18/~username/' (10.0.1.18 is the local IP address I see under 'Web Sharing: On' on the MacBook) I get "Unable to connect: Firefox can't establish a connection to the server at 10.0.1.18."
    When on the MacBook I try 'http://10.0.1.5/~username/' (10.0.1.5 is the local IP address I see under 'Web Sharing: On' on the MacBook) I see the default "Your Website Here" page.
    It is the same on my iPhone: Using the same local IP addresses and usernames, Safari can see the index.html page on my iMac but not on my MacBook.
    It looks as if Apache is not working on the MacBook, while on the iMac it works fine.
    On the MacBook I can see (after I use 'defaults write com.apple.finder AppleShowAllFiles TRUE' in Terminal) a /private/etc/apache2/ directory with what look to be(?) the usual contents. So it looks like Apache is duly installed, as far as I can tell.
    On the MacBook I don't see a file at /private/var/log/apache2/error_log, which is the location for 'ErrorLog' given in the httpd.conf file.
    That about exhausts my understanding of how to get a handle on my problem.
    Any advice or suggestions from those who have more expertise with Apache will be much appreciated ...

    Okai, so we are getting somewhere, but not quit there yet :-)
    I opened the Kenneth.conf file using the command: vi Kenneth.conf
    This is what it said:
    <Directory "/Users/Kenneth/Sites/">
    Options Indexes Multiviews
    AllowOverride AuthConfig Limit
    Order allow,deny
    Allow from all
    </Directory>
    "Kenneth.conf" [readonly] 6L, 139C
    I therefore changed the AllowOverride from AuthConfig Limit to None, which was the only difference from what you posted above. Something did change, when I tried to open XAMPP it prompted me a password, but Apache still wont start :-/

  • 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

  • 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 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 :-)

  • Xslt conversion not working: nosuchmethoderror:org.apache.xml.dtm.ref.sax2d

    hi all, iam trying to convert xml file to html using xslt.
    for that iam using xalan implementation 2.6. this was working fine when i checked it from the application, no iam using servet which instantiates a object of the class and calls the method...and it not working now.
    it is giving this errror
    java.lang.NoSuchMethodError: org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.(Lorg/apache/xml/dtm/DTMManager;Ljavax/xml/transform/Source;ILorg/apache/xml/dtm/DTMWSFilter;Lorg/apache/xml/utils/XMLStringFactory;ZIZZ)V
         at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.(SAX2DTM2.java:1901)
         at org.apache.xalan.xsltc.dom.SAXImpl.(SAXImpl.java:767)
         at org.apache.xalan.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:390)
         at org.apache.xalan.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:267)
         at org.apache.xalan.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:477)
         at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:637)
         at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:317)
    ...can anyone tell me what the problem is? iam setting the system property at runtime like,
    java -Djavax.xml.transformer.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl GetTestiam using the standard way of instantiating the trnaformer like
    TransformerFacotry fac= transformerFactory.newinstance() etc.etc.
    is it beaucse iam not specifiying the imlementation in the application???if so how can i do that.
    thankyou.

    found the answer !!!
    i was using a buggy implementation of xalan. on loading the good xalan.jar and xercesImpl.jar files it started working.
    found that there was a memory leak in 2 places. not sure what that meant but some how the virtual machine wasnt getting the right values for the transformer.
    cheers.

  • Apache 2, Tomcat 4 and Oracle's XSQLServlet not working together

    Hi
    I cannot even get the basic demos in ./demo/java/xsql to work with this combination of technologies.
    I am running this on Red Hat Linux 8. Apache and Tomcat work fine, the CLASSPATH is set and I have created the Alias etc.
    I believe that the .xsql type is not being processed by my XSQLServlet, because calling up http://localhost/xsql/ brings up 3 raw xsql files in the browser.
    All the documentation I have found describes using XSQL with older Apaches and JServ. JServ is now replaced by Tomcat and Tomcat 4 is much different from earlier versions of Tomcat. Despite that I believe I have guessed and made the correct changes to httpd.conf and web.xml to make the XSQLServlet work.
    Has anyone got these to work ? I've been at this for days and am driven half mad by it ! All that has kept me at it is that this seems like a magnificent combination of technologies. Many thanks in advance... for any advice at all.
    - Des

    AndyRTR wrote:Please check the new libreoffice version in testing. It should work with openjdk6 and jre7-openjdk. Not sure if closed
    Oracle jre7 from AUR will also get detected.
    Thanks for the info. Yaourt -Syu will be my friend
    Java7 is recognized, great. Too bad java web plugin could be blacklisted because of security matters.
    Last edited by fredbezies (2011-10-05 14:58:07)

Maybe you are looking for

  • Gnome-gmail-notifier [libsoup problem]

    Hi, I am trying to orphan the package gnome-gmail-notifier, but i ran into this problem. I only edited the PKGBUILD to match the new version and edited the download link. Now i am having some problems running ./configure No package 'libsoup-2.2' foun

  • Bridge CS5 Keyword User Info

    I am using Bridge CS5 to label almost 100,000 files, mostly jpegs, tifs, psds. After finishing this project, I am anxious about not having to repeat it. I am looking for information about copying/backing up the work I have done. I keep 3 separate cop

  • Project and trailer disappeared .. how can i recover them

    [iMovie iOS] project and trailer disappeared on my iPad2.. how can i recover them....HELP

  • Bonjour not working how do I get a refund

    Bonjour not working I was trying to download it so Canberra able to print. It will not download.i want to get a refund.

  • Can i undo my update to osX?

    I updated my machine to OSX and it wiped out all of my flies, can this be fixed?