.htaccess not working.

All,
I am working with a 3rd party to have some scripts installed that use the .htaccess function. (10.4.11)
T?he developer has asked me to enable (or check and see if it is enabled) .htaccess.
These scripts worked fine when we installed them previously on a few of our other boxes. (10.3.9 xServe)...and I don't recall having to manually enable .htaccess or a module there.
Any thoughts? The .htaccess function is clearly not working on this box and I don't know where the "switch" is.
Take pity on me and point me the right direction please?
Thanks,
-C

Hey Chris,
I have also been trying to get .htaccess working using the link above. It is still not working for me.
I have mod rewrite loaded
I checked both /etc/httpd/httpd.conf and /private/etc/httpd/httpd.conf
Each are identical
There is a line
AccessFileName .htaccess
So I am assuming that is on. My only other issue is finding the correct Override statement.
In osx 10.5.1 Server there are 3 entries that contain AllowOverride one is for Alias /icons/
the 2nd is for
<Directory /Library/WebServer/CGI-Exuctables>
the 3rd is for
<Directory />
My questions are.. which httpd.conf do I edit? What changes do I make to it?
Do I need to make a new <Directory> entry for the location of my "website"?
My website is located in /Library/WebServer/domainname
My server settings for that site is configured as follows
1) folder listing (enabled)
2) Web DAV (disabled)
3) CGI Execution (disabled)
4) WebMAil (disabled)
5) SSI (enabled)
6) Allow All Overides (enabled)
7) Spotlight Searching (disabled)

Similar Messages

  • Htaccess not works at public_html: why?

    Hi,
    i have the topic problem.
    The htaccess file works correctly in /srv/http dir, but if i use the same file in public_html it isn't see (i think).
    I googled the question but i have not find a real answer to the problem.
    Can someone help me?
    Sorry for my english.
    PS: I have set "AllowOverride All" on: httpd.conf and the rispective config file for usersdir.

    Well I'm having the same problem. The configuration is exactly by the book of apache I think:
    UserDir public_html
    <Directory "/home/*/public_html">
    #AllowOverride FileInfo AuthConfig Limit Indexes
    AllowOverride All
    Options Indexes FollowSymLinks
    #Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    <Limit GET POST OPTIONS>
    Order allow,deny
    Allow from all
    </Limit>
    <LimitExcept GET POST OPTIONS>
    Order deny,allow
    Deny from all
    </LimitExcept>
    </Directory>
    Even if I take a look in to .htaccess file what I have tried on sever several and distribution:
    php_flag allow_url_fopen on
    RewriteEngine on
    # RewriteBase /home/*/public_html/site/
    # RewriteCond %{HTTP_HOST} ^domain\.com [NC]
    # RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([^/]+)/?$ index.php?page=$1
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([^/]+)/([^/]+)?/?$ index.php?page=$1&page2=$2
    And on last step, I look in to log file where I see that:
    [Tue Nov 15 20:13:08 2011] [error] [client ::1] File does not exist: /srv/http/home, referer: http://localhost/*/site/
    So now if I'm thinking right it's trying to find the directories in /srv/http/home, but I'm not requesting home I'm requesting different variable and why it's trying to find the directories in /srv/http if I'm using userdir. So I tried set RewriteBase in my htaccess file but same problem. To be honest I'm out of idea and I be happy when someone solve this.

  • IWeb Site Won't Authenticate. .htaccess not working.

    Ok... I have searched for a solution and I just can't find one. I am publishing my iWeb site to my sites folder and serving them from my local computer. I am trying to password protect the site. I have enabled the .htaccess in both the httpd.conf and user.conf file. I have set up a .htaccess and .htpasswd file and have them in the main sites folder directory within my user folder. I can't get the site to authenticate. It just goes to the site. I have saved the files through textedit as plain text documents. Here is the .htaccess info.
    AuthUserFile /Users/username/Sites/.htpasswd
    AuthGroupFile /dev/null
    AuthName "Password Protected Area"
    AuthType Basic
    <limit GET POST>
    require valid-user
    </limit>
    Any ideas. I am totally pulling my hair out here. Nothing seems to work. I have searched online and here and just can't find a solution... Thanks in advance for any help or guidance.

    Elden...
    Just wanted to let you know. I fanally got it to work. It was my .htaccess file. I was creating it in text edit and converting the file to plain text and then saving it. I guess this is not a format that it should have been in.
    So I googled about creating a .htaccess file and found instructions on how to use pico in terminal to create a file. And that worked.
    I have read though that I should be able to create .htaccess files in text edit. Do you have any idea what I was doing wrong or how I am supposed to do it correctly in text edit? Just curious for educational sake.
    Thanks again, your help sent me in good directions.

  • Apache authentication using .htaccess not working??

    I have added the following to my httpd.conf file:
    <Directory "/Library/WebServer/Documents/secret">
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    Then I created an .htaccess file in /Library/WebServer/Documents/secret with the following contents:
    AuthName "Private area - server owner only. Hit Cancel."
    AuthType Basic
    AuthUserFile /Library/WebServer/.htpasswd
    require valid-user
    Then in Terminal I entered the following:
    htpasswd -c /Library/WebServer/.htpasswd s1lly
    New password: rabb1t
    Re-type new password: rabb1t
    Adding password for user s1lly
    Thn I stopped and re-started Apache using the OS X Server Admin apps. Now when I go to http://localhost/secret in my browser, it asks me for a username & password. I enter s1lly and rabb1t, but all it tells me is:
    "Forbidden
    You don't have permission to access /secret/ on this server.
    Apache/1.3.33 Server at localhost Port 80"
    What am I doing wrong? Before I added the .htaccess file and changed the httpd.conf, everything worked properly, so I know the URLs are correct. All files are set to be world-readable.
    Changing the .htaccess line from require valid-user to require user s1lly didn't help either.
    Thanks,
    Mike
    G4 MDD 1.25 GHz   Mac OS X (10.4.9)   Running OS X Server 10.4.9
    iBook 700mHz   Mac OS X (10.3.9)  

    Mike--
    I have added the following to my httpd.conf file:
    <Directory "/Library/WebServer/Documents/secret">
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    Shouldn't that be AllowOverride AuthConfig? With it set to "None", Apache shouldn't be looking at the .htaccess file at all.
    charlie

  • Mod_rewrite not working for virtual host nor .htaccess

    I've been tearing my hair out trying to implement mod_rewrite on my Leopard Server. I have finally been able to get mod_rewrite to log what it does, but that has only shown that it DOES periodically respond to a /server_status request from the server itself, but any request to the virtual host (which is otherwise working) does not result in mod_rewrite being 'triggered.' I've tried all the usual suspects, in just about every permutation and combination: 
    1) .htaccess in all its guises and Override All;
    2) RewriteEngine On;
    3) http.conf, the virtual xxxx_80_virtualhostname.com.conf;
    4) Options All -Includes -ExecCGI +MultiViews -Indexes +FollowSymlinks;
    5) other less credible ideas gleaned from the Apple discussions and the web.
    If I had to summarise the effect, it's that
    a) mod_rewrite is on (as shown by the regular /server_status entries in the rewrite.log);
    b) xxxx_80_virtualhostname.com.conf is read when the virtual host is turned on (because the site is active and can be turned off, at will);
    c) any mod_rewrite and Options entries in the vistual host xxxx_80_virtualhostname.com.conf seem to be being studiously ignored, even though the .conf file is being read and used.
    This part of http.conf is what seems to turn on the logging:
    <IfModule mod_rewrite.c>
         RewriteEngine On
         RewriteLog /private/var/log/apache2/rewrite.log
         RewriteLogLevel 9
    </IfModule>
    Here's the section of xxxx_80_virtualhostname.com.conf:
    <Directory "/Library/WebServer/com.VirtualHostName">
         AllowOverride All
         <IfModule mod_dav.c>
              DAV Off
         </IfModule>
         Options All -Includes -ExecCGI +MultiViews -Indexes +FollowSymlinks
    </Directory>
    <IfModule mod_rewrite.c>
         RewriteEngine On
         RewriteLog /private/var/log/apache2/rewrite.log
         RewriteLogLevel 9
         RewriteRule ^/Tom.html$ /Mary.html [R]
         RewriteCond %{REQUEST_METHOD} ^TRACE
         RewriteRule .* - [F]
    </IfModule>
    This is a variant of the .htaccess file:
    RewriteEngine on
    RewriteBase /
    RewriteRule ^/Tom.html$ /MARY.html [R]
    It makes no difference whether the RewriteBase is present in the .htaccess or the xxxx_80_virtualhostname.com.conf, or both.
    No amount of pass-though [PT] or redirect [R] has any effect, either.
    I do have Lasso 8.5 installed, but the developer says that Lasso should have no effect on the proper functioning of mod_rewrite.
    mod_rewrite is working (i.e. it's on, as shown by the /server_status entries in the log and that the log is being updated), but it is also not working (in that no matter what I put into xxxx_80_virtualhostname.com.conf and/or .htaccess, there is no entry in the rewrite.log nor in the system logs).
    Hence, I'm stumped. Any suggestions would be very, very welcome.

    Never mind. I discovered that Server had created several versions of the virtual host .conf file in the sites folder (I've no idea why, when, or how it would do that). They all had different numbers and so were well hidden within the dozens of other .conf files. Once I a) found the right .conf file for the virtual host, and b) deleted the rest from the sites folder, my mod_rewrite code worked fine.
    Hence, if you find that mod_rewrite is working, but not for a particular virtual host, make darn sure that there are no errant .conf files for the domain and, if there are, that you're editing the correct one.

  • Sprinboard screen does not work on android device

    Hi experts,
    I have a mobile application that i coded on JDEV 11.1.2.4. And i deploy via sdk android-4.3 version. I set DefaultSpringboard on adfmf-application.xml file.
    When i deploy on AndroVM or another Android VM either SDK Emulator, i can see springboard screen properly. But deploy on real devices (tried with Android 4.1.1 Tablet, Android 4.1.2 Sony experia phone, Android 2.3.5 HTC phone) could not see anything, just seen black screen with header(written as applicationName) AdfmfContainerUtilities.showNavigationBar(); does not work also.
    How can i resolve this?
    Also i tried to create completely new adf mobile application that contains only 2 feature and applied the scenerio, it fails on real device too. I think that the problem is on loading featureList. Because when i created an amx page and set as CustomSpringboard. It works
    Please help me..
    brgds
    I m adding my adfmf-application.xml file content, essentially i tried almost all different setting in it.
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfmf:application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:adfmf="http://xmlns.oracle.com/adf/mf" name="MLMobilKatalog"
                       id="com.accmee.MLMobileCatalogue"
                       appControllerFolder="ApplicationController" listener-class="com.accmee.application.LifeCycleListenerImpl">
      <adfmf:featureReference id="com.accmee.Login" showOnSpringboard="false" showOnNavigationBar="false"/>
      <adfmf:featureReference id="com.accmee.productList"/>
      <adfmf:featureReference id="com.accmee.productDefinition"/>
      <adfmf:featureReference id="com.accmee.favourites"/>
      <adfmf:featureReference id="com.accmee.messages"/>
      <adfmf:featureReference id="com.accmee.categoryDef"/>
      <adfmf:featureReference id="com.accmee.exit"/>
      <adfmf:featureReference id="com.accmee.menu" showOnNavigationBar="false" showOnSpringboard="false"/>
      <adfmf:featureReference id="com.accmee.menuList" showOnNavigationBar="false" showOnSpringboard="false"/>
      <adfmf:preferences>
        <adfmf:preferenceGroup id="application">
        </adfmf:preferenceGroup>
      </adfmf:preferences>
      <adfmf:navigation>
        <adfmf:navigationBar enabled="false" displayHideShowNavigationBarControl="false"/>
        <adfmf:springboard enabled="true" showSpringboardAtStartup="false" displayGotoSpringboardControl="false" animation="none"/>
      </adfmf:navigation>
    </adfmf:application>

    Per the release notes, Wallaby only supports Chrome and Safari at this time.
    And yes, it only works with Adobe Flash Professional CS5 files. To use older Adobe Flash Professional files you can resave them in CS5 and then run them through Wallaby. This is a technology preview (not a product) and therefore has certain limitations that might not exist in a shipping product.
    You mention this doesn't work on an itouch G3. You mean an iPod touch G3, yes? What version of iOS do you have installed on your iPod touch? This may be related to incorrect serving of SVG content (if you are using apache) and so you may need to update your .htaccess file in apache per the Wallaby technical tips page.
    Michael O'Rourke
    Adobe Wallaby Team

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

  • Mod_rewrite not working in user folders?

    Hi everybody,
    I experience a odd problem and maybe somebody can help. I use a 10.5.8 OS X Server running Apache with PHP 5.3.0.3 entropy update and all works fine.
    Today I tried to create .htaccess file to redirect some http requests, also known as url rewriting using mod_rewrite.so. I tried to create a file in /Library/WebServer/Documents with this content:
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.+) index.php?site=$1 [L]
    and a index.php file with this content:
    <pre>
    <?
    print_r($_REQUEST);
    ?>
    </pre>
    This prints, whatever was given as parameter to my page… as expected.
    Little later i wanted to use the very same files in my User Folder, which is based in /Volumes/Users/Userdata/username/Sites/ and it does not work, the url rewriting does not work and I always get 404 message. Looks like the Rewrite Rules never get loaded…
    Is there any way to enable url rewriting for Users? Where is the config file that forces an "AllowOverride None" for my users? Any ideas?
    I had a similar problem with php earlier on, which was parsed php files in the main document directory but not within user folders… odd enough, the default configuration(no php.ini loaded) does not cause this kind of problem, but if i load a php.ini eg. php.ini-recommended no filles will be parsed in my users sites directory.
    this is not unique to my user account and affects all users on the server
    any ideas?

    This just sounds like a classic Apache configuration question.
    By default (at least in Apple's default configuration - I have no idea what Entropy do to the configs), .htaccess files are disabled (for both security and performance reasons).
    In this case, since the .htaccess rewrites work in your root directory it sounds like someone has enabled .htaccess there but haven't done for the user's home directories.
    In order for rewrites to work in a .htaccess file the directory needs the FileInfo override set. This is typically done in a <Directory> declaration in your config file, like:
    <Directory "/Volumes/Users/Userdata/username/Sites">
      AllowOverride FileInfo
    </Directory>
    This tells Apache to permit FileInfo-based commands in a .htaccess file in the specified directory.
    Just make sure you trust your users, though - putting too much power in the hands of your users could compromise your server security.

  • Can't get .htaccess to work

    Hi,
    i have tried to put an .htaccess file on a directory on my webserver but without luck. I am using Snow Leopard server.
    I did the following things:
    1. I looked up the httpd.conf and edited the part directory part that applies to all directories on my webserver. I changed allowoverride to ALL.
    I used to following commands in terminal to edit the httpd.conf file:
    CD /private/etc/apache2
    sudo pico httpd.conf
    2. I created an .htaccess file and .htpasswd using the pico editor in the terminal
    Using the following commands:
    1. cd /Library/Webserver/Documents/camera (this is where my subfolder is located)
    2. sudo pico .htaccess (copy paste) ctr+o (saving) ctr+x
    3. sudo pico .htpasswd (copy paste) ctr+o (saving) ctr+x
    The htaccess file: http://localhostr.com/files/9c579c/Screenshot+2010-08-28+at+7.51.10PM.png
    It still does not work, what am i doing wrong?

    Creating the file .htpasswd with a normal text editor ist not the correct way. Apache brings the tool htpasswd with it, use that. See the man page for htpasswd on your Mac or the website of the Apache project: http://httpd.apache.org/docs/current/programs/htpasswd.html

  • .htaccess not getting 'er done

    Hello, all. I am trying to password protect a single page on my website. I followed the directions on http://www.hwg.org/lists/hwg-servers/passwords.html and http://www.htmlgoodies.com/tutorials/getting_started/article.php/3479531. My .htaccess file looks like this:
    AuthUserFile /var/apache2/passwd/.htpasswd
    AuthGroupFile /dev/null
    AuthName Bio 446/546
    AuthType Basic
    require user molbioand my .htpasswd file looks fine to me.
    The www.htmlgoodies.com tutorial says I must change the file attributes of both files to designate them as commands. Is this so? I made them executable for root (my server operates on root). I've restarted Apache2, and still the page displays without prompting for a password. What ought I do? Thanks.
    JJ

    Thanks for letting me know I have another option, kjard. I've decided to take your advice but I am still having some trouble. When I visit the page, I am not prompted for a password. And apache will only run in maintenance mode. I've tried a few different things (after viewing the tutorial at http://yolinux.com/TUTORIALS/LinuxTutorialApacheAddingLoginSiteProtection.html) but no dice. I tried this:
    <Directory /var/apache2/htdocs/new_site/restricted>
    AllowOverride All
    </Directory>and this:
    <Directory /var/apache2/htdocs/new_site/restricted>
    AllowOverride AuthConfig
    </Directory>Then I removed this Directory statement from my httpd.conf file (I'm showing its context):
    # features.
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    # Note that from this point forward you must specifically allowAnd moved my .htaccess file in case my box was getting confused by trying to read it.
    Not working.
    This is an excerpt from my current httpd.conf:
    # First, we configure the "default" to be a very restrictive set of
    # features.
    # 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.
    <Directory /var/apache2/htdocs/new_site/restricted>
    AllowOverride AuthConfig
    AuthName Bio L 446/546
    AuthType Basic
    AuthUserFile /var/apache2/passwd/.htpasswd
    AuthGroupFile /dev/null
    require user molbio
    </Directory>
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/var/apache2/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.0/mod/core.html#options
    # for more information.
        Options Indexes FollowSymLinks
    # 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 "/var/apache2/htdocs"
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/var/apache2/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.0/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>Is there something about the order of these directory statements that is causing me trouble? I notice some redundancy in this excerpt, is that normal? Any other ideas or suggestions? Thank you.
    JJ

  • Not work tablet UI on Prestigio 5080 PRO tablet

    I read that browser.ui.layout.tablet = "1" can fix this problem. But it not works. I can work only in pnone interface that is not good for my 8'' tablet.

    Would it be possible for you to share the problematic pdf and OS information  with us at [email protected] so that we may investigate?
    Thanks,
    Adobe Reader Team

  • Why self-defined access sequences of free goods can not work?

    Hi gurus,
    I have maintained access sequences of free goods self-defined.but when i creat the SO it does not work!
    when i used the standard access sequences ,it is OK .
    Can anybody tell me why?
    thanks in advance

    Dear Sandy,
    Go to V/N1 transaction select your self defined access sequence then go in to the accesses and fields and check all fields are activated.
    Make sure that these fields are flowing in your sales order.
    I hope this will help you,
    Regards,
    Murali.

  • Adobe bridge raw not working with windows vista in photoshop cc, why?

    adobe bridge raw not working in photoshop cc, is there a fix?

    Your sure your using photoshop cc on windows vista?
    I was under the impression that photoshop cc would not even install on windows vista.
    What version of camera raw do you have?
    In photoshop under Help>About Plugin does it list Camera Raw and if so which version is it?
    (click on the words Camera Raw to see the version)
    Camera raw doesn't work if it's a camera raw file or some other file type such as jpeg or tif?
    What camera are the camera raw files from?
    Officially camera raw 8.3 is the latest version of camera raw that will work on windows vista.

  • Adobe Bridge CS5 in windows 7 not working?

    Adobe Bridge CS5 in windows 7 not working. I was using bridge perfectly for last 2 years. It stops working since 3 days. I tried to install updates. Showing some error to install.
    Tried to install creative cloud..again some error. Error code : 82
    Could you please advice how I can fix my adobe bridge.

    https://www.youtube.com/watch?v=xDYpTOoV81Q&feature=youtu.be
    please check this video I uploaded..this is what happens when I click adobe bridge.. just blinks and go off. bridge not working on task manager

Maybe you are looking for

  • Every time when I connect my iphone to my pc, Itunes stops working

    When Itunes is activated on my pc, en then I connect my iphone tot de pc. First itues start syncup, then my computer give's an error, en itunes stops working. I already tried deïnstalling, en reïnstalling. But nothing works. Itunes alone works perfec

  • ABAP proxy client sending to XI

    We have created an outbound interface in XI and generated the proxy in ABAP using SPROXY.  When we test the call of the proxy,  we get the following error in SXMB_MONI.. HTTP response contains status code 401 with the description Unauthorized Any adv

  • WRT600N Security Log

    Is anyone else having this prob? When I view my logs , my security log keeps saying incorect username-password=admin and gives my laptop pc address. Starnge even though i can lod in with no probs with my password. I am hoping this is just a bug that

  • Dynamic text feild

    works when exporting and publishing but when i "put" the file on my dreamweaver site it wont show up online. why is this happening and what should i do to fix it. this is the code i used according to a flash book with step by step sorrta stuff... tha

  • IT27 payroll retro run

    Dear All, Currently I create infotype 0027 subtype 01 to store my WBS, which is used for payroll purposes. Now I want to create new subtype and store data. subtype 02 is not payroll relavent. Currently IT 0027 is configured as Retro for payroll for a