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.

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

  • Web Server and SSL not Working

    I am having a lot of difficulty with Lion Server.
    I finally managed to get OD and DNS to work.
    My hostname ends with .private.
    When I try to access the web page from within my network I get the following message:
    "Index of /
    Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8r DAV/2 Server at xxxxxxxxx.private Port 443"
    I have not activated SSL in OD and it is not configured in server.
    When I try to activate SSL for Web Server and try to access the web page, I get the message that it cannot connect to the server.
    Any ideas?

    .Mac email can be set up two different ways on the iPhone. For "Send to Web Gallery" button to appear when clicking on the action button while viewing a photo, you must have your .Mac email set up as IMAP. This is the default setup for a .Mac email account.
    If you take the time to manually set up your .Mac email as POP, then you will not have the "Send to Web Gallery" option and you will be unable to successfully email into your web gallery even if all else is set up correctly.
    To check to see how you have .Mac email set up on your iPhone, go to the Home Screen, tap Settings, tap Mail, tap your .Mac account name, tap Advanced, move down on the page, and make sure you see "IMAP Path Prefix" setting (it can be blank and does not need to be changed). If the "IMAP Path Prefix" is there, then you do indeed have your .Mac email set up as IMAP on your iPhone.
    If you do have it set up as a POP account, you can delete that mail account by selecting the red Delete Account button when viewing your email account as listed in Settings.
    To add your .Mac email account as an IMAP account, from the Home Screen, tap Settings, tap Mail, tap Add Account..., tap .Mac, and fill out the fields with your information, tap Save and it will verify access to your .Mac email account.

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

  • 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

  • SSO with SSL not working

    We've set up SSL to use with 10g AS Portal (9.0.4). Actually, all we want is to have the SSO sign in securely.
    So if I go to https://www.myserver.com:4446/pls/portal I get a portal page. However when I try to login it reverts back to non-SSL. Also, if I go to https://www.myserver.com:4445/pls/orasso the SSO server comes up, but doesnt let me login (no entries in the Enabler Config table) Do I have to run ssodatax? And how can I tell portal to use the SSO through SSL once I fix that?
    Im using Oracle 10g AS (9.0.4) on Red Hat 3.0
    Thanks

    Hi Tim,
    Thank you for the update.
    Is this the option you are specifying (i,e) located in Tomcat/conf/server.xml.
    Define a SSL Coyote HTTP/1.1 Connector on port 8443
        <Connector port="8443"
                   maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
                   enableLookups="false" disableUploadTimeout="true"
                   acceptCount="100" debug="0" scheme="https" secure="true"
                   clientAuth="false" sslProtocol="TLS" />
    So, should we add any parameter called headersize?
    Please let us know the parameter that needs to be added.
    Thanks..

  • AAM SSL not working for welcome page

    Hi all,
    I have enabled SSL for my sharepoint server recently. After follow the procedure to insert cert in IIS, add binding and add AAM mapping, there is an issue when accessing the site URL with https, the server will return a http welcome page. If I browse with
    https welcome page and browse arround, it won't redirect back to http.
    For example:
    https://portal.abc.com  -->  http://portal.abc.com/SitePages/index.aspx
    https://portal.abc.com/community/asia  -->  http://portal.abc.com/community/asia/SitePages/Index.aspx
    https://portal.abc.com/SitePages/index.aspx --> https://portal.abc.com/SitePages/index.aspx
    https://portal.abc.com/community/asia/SitePages/Index.aspx  -->  https://portal.abc.com/community/asia/SitePages/Index.aspx
    How can I force it keep using https during the redirection?
    Warm Regards,
    Wayne

    This is by design behavior.  AAMs are a nice feature, but realistically, the idea is to push users towards one URL.  If you have
    http://domain.com,
    http://www.domain.com, http://domain.org, etc, you would use AAMs to allow SharePoint to respond to requests on any of those domain names, but SharePoint will always use the Public URL for the zone in redirects.  i.e.
    any email alerts that go out, welcome page redirects, rediects from system pages, etc.  So, if you have a scenario like this where maybe HTTP is only available internally, and HTTPS is required externally. either create a different zone by extending
    the web application or change the Public URL to be the HTTPS which is available internal and external, with an internal mapping for the HTTP.  This will push users to move towards only using SSL, but allows for HTTP to be recognized.
    I will say, it is unusual that you would allow HTTP once you've got SSL set up though.  I would just change the public URL and stop accepting HTTP altogether. 
    Christopher Webb | Microsoft Certified Master: SharePoint 2010 | Microsoft Certified Solutions Master: SharePoint Charter | Microsoft Certified Trainer| http://christophermichaelwebb.com

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

  • Apach1 .1.3.22+ mod_ssl /Weblogic 5.1  Browser to Apache SSL does not work

    We are using Weblogic 5.1 and apache 1.3.22+mod_ssl. HTTPS requests to the apache
    server for jsp do not work. However if
    a HTTP request for the same jsp is made, it works.
    SSL requests only work if the ServerName directive for HTTP
    server and the 443 Virtual Server are commented out in httpd.conf. Is this right?

    Hi.
    Firstly, this is not a supported configuration. The latest version of apache we
    certify is 1.3.19. See the following link for supported platforms:
    http://edocs.bea.com/wls/platforms/index.html#apach.
    Without seeing your httpd.conf file this should work. You probably already know this,
    but with WLS 5.1 https between the server and the plugin is not supported, so apache
    needs to translate all http/https requests to http for WLS.
    I recommend you try posting this question to the plugin newsgroup -
    weblogic.developer.interest.plugin.
    Thanks,
    Michael
    shakeel rao wrote:
    We are using Weblogic 5.1 and apache 1.3.22+mod_ssl. HTTPS requests to the apache
    server for jsp do not work. However if
    a HTTP request for the same jsp is made, it works.
    SSL requests only work if the ServerName directive for HTTP
    server and the 443 Virtual Server are commented out in httpd.conf. Is this right?--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • [solved] Owncloud over SSL: http works, but over https only apache

    Hello,
    I try to setup owncloud with SSL.
    Accessing over http works, but over https, I reach the default apache page instead of the owncloud page.
    (I set up SSL according to https://wiki.archlinux.org/index.php/LAMP#SSL )
    How could I make the owncloud site available over https?
    relevant files:
    owncloud.conf:
    <IfModule mod_alias.c>
    Alias /owncloud /usr/share/webapps/owncloud/
    </IfModule>
    <Directory /usr/share/webapps/owncloud/>
    Options FollowSymlinks
    Require all granted
    php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/owncloud/:/etc/webapps/owncloud/:/mt/daten/owncloud/"
    </Directory>
    <VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /usr/share/webapps/owncloud
    ServerName http://example.com/owncloud
    </VirtualHost>
    I tried to change 80 to 443, but then, systemctl restart httpd didn't work. (apache failed)
    httpd.conf:
    # 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.4/> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.4/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/access_log"
    # with ServerRoot set to "/usr/local/apache2" will be interpreted by the
    # server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
    # will be interpreted as '/logs/access_log'.
    # 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 specify a local disk on the
    # Mutex directive, if file-based mutexes are used. If you wish to share the
    # same ServerRoot for multiple httpd daemons, you will need to change at
    # least PidFile.
    ServerRoot "/etc/httpd"
    # Mutex: Allows you to set the mutex mechanism and mutex file directory
    # for individual mutexes, or change the global defaults
    # Uncomment and change the directory if mutexes are file-based and the default
    # mutex file directory is not on a local disk or is not appropriate for some
    # other reason.
    # Mutex default:/run/httpd
    # 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
    <IfModule mod_ssl.c>
    Listen 443
    </IfModule>
    # 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 authn_file_module modules/mod_authn_file.so
    #LoadModule authn_dbm_module modules/mod_authn_dbm.so
    #LoadModule authn_anon_module modules/mod_authn_anon.so
    #LoadModule authn_dbd_module modules/mod_authn_dbd.so
    #LoadModule authn_socache_module modules/mod_authn_socache.so
    LoadModule authn_core_module modules/mod_authn_core.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    #LoadModule authz_dbm_module modules/mod_authz_dbm.so
    #LoadModule authz_owner_module modules/mod_authz_owner.so
    #LoadModule authz_dbd_module modules/mod_authz_dbd.so
    LoadModule authz_core_module modules/mod_authz_core.so
    #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule access_compat_module modules/mod_access_compat.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    #LoadModule auth_form_module modules/mod_auth_form.so
    #LoadModule auth_digest_module modules/mod_auth_digest.so
    #LoadModule allowmethods_module modules/mod_allowmethods.so
    #LoadModule file_cache_module modules/mod_file_cache.so
    #LoadModule cache_module modules/mod_cache.so
    #LoadModule cache_disk_module modules/mod_cache_disk.so
    #LoadModule cache_socache_module modules/mod_cache_socache.so
    LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
    #LoadModule socache_dbm_module modules/mod_socache_dbm.so
    #LoadModule socache_memcache_module modules/mod_socache_memcache.so
    #LoadModule watchdog_module modules/mod_watchdog.so
    #LoadModule macro_module modules/mod_macro.so
    #LoadModule dbd_module modules/mod_dbd.so
    #LoadModule dumpio_module modules/mod_dumpio.so
    #LoadModule echo_module modules/mod_echo.so
    #LoadModule buffer_module modules/mod_buffer.so
    #LoadModule data_module modules/mod_data.so
    #LoadModule ratelimit_module modules/mod_ratelimit.so
    LoadModule reqtimeout_module modules/mod_reqtimeout.so
    #LoadModule ext_filter_module modules/mod_ext_filter.so
    #LoadModule request_module modules/mod_request.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    #LoadModule reflector_module modules/mod_reflector.so
    #LoadModule substitute_module modules/mod_substitute.so
    #LoadModule sed_module modules/mod_sed.so
    #LoadModule charset_lite_module modules/mod_charset_lite.so
    #LoadModule deflate_module modules/mod_deflate.so
    #LoadModule xml2enc_module modules/mod_xml2enc.so
    #LoadModule proxy_html_module modules/mod_proxy_html.so
    LoadModule mime_module modules/mod_mime.so
    #LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    #LoadModule log_debug_module modules/mod_log_debug.so
    #LoadModule log_forensic_module modules/mod_log_forensic.so
    #LoadModule logio_module modules/mod_logio.so
    #LoadModule lua_module modules/mod_lua.so
    LoadModule env_module modules/mod_env.so
    #LoadModule mime_magic_module modules/mod_mime_magic.so
    #LoadModule cern_meta_module modules/mod_cern_meta.so
    #LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    #LoadModule ident_module modules/mod_ident.so
    #LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    #LoadModule remoteip_module modules/mod_remoteip.so
    LoadModule proxy_module modules/mod_proxy.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 proxy_fcgi_module modules/mod_proxy_fcgi.so
    LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
    #LoadModule proxy_fdpass_module modules/mod_proxy_fdpass.so
    LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule proxy_express_module modules/mod_proxy_express.so
    #LoadModule session_module modules/mod_session.so
    #LoadModule session_cookie_module modules/mod_session_cookie.so
    #LoadModule session_crypto_module modules/mod_session_crypto.so
    #LoadModule session_dbd_module modules/mod_session_dbd.so
    LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
    #LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
    LoadModule ssl_module modules/mod_ssl.so
    #LoadModule dialup_module modules/mod_dialup.so
    LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
    LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
    LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
    LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
    #LoadModule mpm_event_module modules/mod_mpm_event.so
    LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
    LoadModule unixd_module modules/mod_unixd.so
    #LoadModule heartbeat_module modules/mod_heartbeat.so
    #LoadModule heartmonitor_module modules/mod_heartmonitor.so
    #LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    #LoadModule asis_module modules/mod_asis.so
    #LoadModule info_module modules/mod_info.so
    #LoadModule suexec_module modules/mod_suexec.so
    #LoadModule cgid_module modules/mod_cgid.so
    #LoadModule cgi_module modules/mod_cgi.so
    #LoadModule dav_fs_module modules/mod_dav_fs.so
    #LoadModule dav_lock_module modules/mod_dav_lock.so
    #LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    #LoadModule imagemap_module modules/mod_imagemap.so
    #LoadModule actions_module modules/mod_actions.so
    #LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    #LoadModule rewrite_module modules/mod_rewrite.so
    #own additions:
    LoadModule php5_module modules/libphp5.so
    <IfModule unixd_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 http
    Group http
    </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 www.example.com:80
    # Deny access to the entirety of your server's filesystem. You must
    # explicitly permit access to web content directories in other
    # <Directory> blocks below.
    <Directory />
    Options FollowSymLinks
    AllowOverride none
    Require all denied
    </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.
    # 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 "/srv/http"
    <Directory "/srv/http">
    # 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.4/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:
    # AllowOverride FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Require all granted
    </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.
    <Files ".ht*">
    Require all denied
    </Files>
    # 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 "/var/log/httpd/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 "/var/log/httpd/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "/var/log/httpd/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://www.example.com/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/ "/srv/http/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 cgisock
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
    </Directory>
    <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://www.example.com/subscription_info.html
    # MaxRanges: Maximum number of Ranges in a request before
    # returning the entire resource, or one of the special
    # values 'default', 'none' or 'unlimited'.
    # Default setting is to accept 200 Ranges.
    #MaxRanges unlimited
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall may be 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.
    # Defaults: EnableMMAP On, EnableSendfile Off
    #EnableMMAP off
    #EnableSendfile on
    # 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
    # Include owncloud
    Include /etc/httpd/conf/extra/owncloud.conf
    Include conf/extra/php5_module.conf
    # Configure mod_proxy_html to understand HTML4/XHTML1
    <IfModule proxy_html_module>
    Include conf/extra/proxy-html.conf
    </IfModule>
    # 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>
    # uncomment out the below to deal with user agents that deliberately
    # violate open standards by misusing DNT (DNT *must* be a specific
    # end-user choice)
    #<IfModule setenvif_module>
    #BrowserMatch "MSIE 10.0;" bad_DNT
    #</IfModule>
    #<IfModule headers_module>
    #RequestHeader unset DNT env=bad_DNT
    #</IfModule>
    thanks!
    Last edited by Carl Karl (2014-05-06 07:40:53)

    OK, solved.
    What I made wrong:
    https://localhost leads to the apache page
    https://localhost/owncloud leads to the owncloud page.
    (Just as an information if there are other apache noobs like me...)

  • 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

Maybe you are looking for

  • Horizontal red lines across video after rendering

    Hi I was color correcting a video in Adobe Premiere Pro Cs5 and had remove some noise with Neat Video.  The video looks fine with the small screen, however, I adjusted it to full screen and noticed a lot of red horizontal lines across the whole video

  • Safari 8.0 Open in New Tab not working correctly

    Hard and Software: MacBook (13-inch, Aluminum, Late 2008), 2 GHz Intel Core 2 Duo, 2 GB 1067 MHz DDR3, NVIDIA GeForce 9400M 256 MB OS X Yosemite 10.10 clean install, iCloud enabled, Safari 8.0 Problem description: When I open any type of link in a ne

  • Create external document (URL) - Attachment in FI document

    Hi all, how can I add with a custom program an URL as attachment in a FI document? And how can I remove the possibility to delete this attachment for a user when he enters in change mode FB02? Many thanks. Luca

  • HELP MEEEEE!!!!!!!!! itunes won't work anymore after my mom  got an ipod!

    Hello, I have an ipod mini, and ive had it for about 6 months now,Ive been using itunes for awhile now and it has always worked fine. My mom just got an ipod and i set it up for her. Earlier today, i went into itunes and hooked up her ipod...an error

  • High CPU usage from cupsd "socket" - possible related to HP photosmart ?

    Suddenly my MacBook Pro is very hot - about 170 degrees starting right after it is switched on. Before yesterday, it would vary between about 100 and 120 degrees. I've never seen it this hot. When I went to the Activity Monitor, the Process Name "soc