Rebind invoked from non-local host (AccessException)

Hi all,
I have a simple RMI setup where a client class asks for a new object from a server class, however, I use this call to create the new object on the server and then attempt to register it with the rmiregistry before passing the remote reference back (ie UnicastRemoteObject). This is because I want the client to access a new remote object on the server (the new object may not be serializable).
The problem is after I tried it with a remote machine, I got an AccessException, Registry.rebind disallowed. This seems to be because you can't get a client (non-local) to affect the registry for security. Fair enough. Although I thought becuase it is a method on the server which does the actual object creation and registration that it IS local and it would work...
any comments...?
is there a way around this...?
Thanks in advance,
Toby

Hi...You can rebind a object only from the local machine...RMI does not allow remote binding of the objects because of security reasons and whenever you try to do so you get an Access Exception.
Hope this Helps.

Similar Messages

  • Registry.rebind disallowed; origin /11.0.10.31 is non-local host.

    Hello everyone.
    I have a problem.
    I have a server that I register in the RMI registry. Client from a remote machine get the server (as a remote object) and calls his method for the generation of another object on the parameters passed. The server creates this object and tries to register it in the RMI registry, and this raises an exception Registry.Registry.rebind disallowed; origin /11.0.10.31 is non-local host.
    What could be the problem and how to solve it?
    Thanks.

    Ah, this is the problem. It's a bit difficult to explain but if you create an in-JVM Registry and then call rebind() on the result while executing a remote method on behalf of a client, your are doing a local method invocation on the Registry instance so the client host appears to be the calling client rather than yourself. Change the rebind() call to use Naming.rebind() and the problem will go away.

  • RemoteException LOCALHOST is non-local host

    Hello RMI gurus,
    I am trying to run an example RMI application to get a better understanding of how RMI works, but I have encountered this problem. The error I am getting is this:
    Error: RemoteException occured in server thread; nested exception is:
    java.rmi.AccessException: Registry.Registry.rebind disallowed;
    origin
    LOCALHOST/127.0.0.1 is non-local host
    I have the rmiregistry running on the default port on the same system that I am trying to run the server part of the program, and am using Java 1.3. Here is how I start the program:
    java -Djava.rmi.server.codebase=file:///java/verify/ -cp /java/verify FibonacciServerAlso, I bind my object to rmi with this call in the FibonacciServer class:
    Naming.bind("fibonacci", f);
    I am guessing it is choking on this.
    Any way...thanks in advance for any help with this!
    C.M.

    Naming.bind("fibonacci", f);
    Naming.bind("//localhost/fibonacci",f);You can add rmi: in front of localhost but it is not essential.

  • Purchasing from non-local iTunes Store

    I live in Japan and use my credit card to purchase songs etc. from the Japan iTunes store.
    If I get someone in the UK to purchase an iTunes gift card for me, can I use that card to purchase songs etc. from the UK iTunes store, without having to register a UK credit card/address?
    -Stuart.

    No.

  • Sending email from local host

    sir ,
    i want to know ,can send email from the local host using smtp server .
    my web server is tomcat 4.1
    please help me

    1. create a resource in your server.xml
    <Resource
    name="mail/mailhost"
    type="javax.mail.Session"
    mail.smtp.host="mailhost"/>
    2. added the following in your web.xml (application level)
    <ResourceLink global="mail/mailhost" name="mail/mailhost" type="javax.mail.Session"/>
    3. get your mail session by look up on the jndi context.
    4. send your mail using java mail.
    read the for details info
    http://tomcat.apache.org/tomcat-4.0-doc/jndi-resources-howto.html

  • 10.4.3 Local Host Aliases vs. Locally Hosted Virtual Domains

    We had been running 10.4.1 for about eight months with no problems.
    1) Under the Local Host Aliases setting in Server Admin (Mail, Settings, Advanced. Hosting) we had only "localhost" listed. All the other virtual domains we hosted email for were listed under Locally Hosted Virtual Domains.
    2) We added all mail users via WGM and only listed one shortname without the "@domainname.com" suffix. I.E. "user1".
    3) All mail account aliases are handled by editing the /etc/postfix/virtualaliasmaps.
    A few weeks ago, we upgraded to 10.4.3. All mail was being rejected with an unknown user message. Checking forums around the net, we saw a post which suggested that all domains previously listed only under Locally Hosted Virtual Domains should also be added under Local Host Aliases for 10.4.3 via Server Admin.
    We did this and all mail began working OK as before the upgrade. However we are getting log entry warnings everytime an email is processed:
    postfix/trivial-rewrite[3921]: warning: do not list domain oneofourdomains.com in BOTH mydestination and virtualmailboxdomains
    I'd like to straighten this out so everybody is happy and no more log warnings occur.
    However, we don't want to:
    1) remove the virtual domains from the Locally Hosted Virtual Domains entries and have them only under Local Host Aliases since there are mail aliases with the same name under different domains, and
    2) we don't want to have to go into WGM and add a domain suffix to each shortname
    Does anyone know what changed between 10.4.1 and 10.4.3 and why? More importantly, how do we best go about correcting this situation. Or is this an Apple bug that will be fixed in the future and we can live with the log warnings until then?
    We've searched all the posts in different forums and haven't seen anything that addresses this problem directly.
    Thanks in advance for your help.
    Don

    We had been running 10.4.1 for about eight months with no problems.
    1) Under the Local Host Aliases setting in Server Admin (Mail, Settings, Advanced. Hosting) we had only "localhost" listed. All the other virtual domains we hosted email for were listed under Locally Hosted Virtual Domains.
    2) We added all mail users via WGM and only listed one shortname without the "@domainname.com" suffix. I.E. "user1".
    3) All mail account aliases are handled by editing the /etc/postfix/virtualaliasmaps.
    A few weeks ago, we upgraded to 10.4.3. All mail was being rejected with an unknown user message. Checking forums around the net, we saw a post which suggested that all domains previously listed only under Locally Hosted Virtual Domains should also be added under Local Host Aliases for 10.4.3 via Server Admin.
    We did this and all mail began working OK as before the upgrade. However we are getting log entry warnings everytime an email is processed:
    postfix/trivial-rewrite[3921]: warning: do not list domain oneofourdomains.com in BOTH mydestination and virtualmailboxdomains
    I'd like to straighten this out so everybody is happy and no more log warnings occur.
    However, we don't want to:
    1) remove the virtual domains from the Locally Hosted Virtual Domains entries and have them only under Local Host Aliases since there are mail aliases with the same name under different domains, and
    2) we don't want to have to go into WGM and add a domain suffix to each shortname
    Does anyone know what changed between 10.4.1 and 10.4.3 and why? More importantly, how do we best go about correcting this situation. Or is this an Apple bug that will be fixed in the future and we can live with the log warnings until then?
    We've searched all the posts in different forums and haven't seen anything that addresses this problem directly.
    Thanks in advance for your help.
    Don

  • Can we translate currency from Non LC to any RptCurrency

    Hi All
    we are working on BPC 7.0 SP05.
    Can we traslate currency from Non local currency to any other reporting currency
    For Ex: Translating from EUR to USD . Where EUR is not the LC ( i mean its the Currency_type proper for that Entity)
    We can translate currency from Local to any Rptcurrency/ Group currency.
    thanks in advance
    AK

    Hi AK,
    Well, that is certainly an interesting situation!
    You can find the currency conversion code under package UJ in SE80. It is under the "Table Driven Logic" sub-package (which I think is UJT, but I don't really remember). If you put a breakpoint in the currency conversion code and maintain the debug user mappings on the .NET server, you should be able to debug.
    However, you can configure this scenario using the normal currency conversion business rules, at least if you only have one reporting currency. It would involve using a different rate type for expense accounts (AVGEXP, perhaps, rather than just AVG), then maintaining currency conversion business rules for AVGEXP that dictate that the LC value should be copied to the reporting currency value directly (COPY_LC) rather than multiplied by the avg rate (AVG).
    If this situation is not the case for all entities, you can use the FX Type property of the entity to allow you to maintain one set of rules for normal entities where both sales and expenses are recorded in LC and another set of rules for entities where this situation occurs.
    Alternatively, you could maintain AVGEXP rate type accounts with the AS_IS rule and then simply load the expense values directly into the reporting currencies. These accounts will then not be translated. If you want to translate USD to EUR for just these accounts (for example), you could do this with a script logic and LOOKUPs into the rate cube.
    Hope that helps,
    Ethan

  • Quicktime Pro wants to open OS 9 in my Local Host???

    I created a slide show that runs perfectly on my desktop. However, it will not play now that I loaded it on to my website. Furthermore, I notice that when I open the .mov quicktime file from my local host file in dreamweaver MX, my mac want to open up OS 9???? I imagine this may be the reason that I can't open the file from the web. Please help.

    That must be a monster of a file!
    Three times the data rate of a DVD and a size that wouldn't fit on my current monitor.
    I don't see a video codec mentioned but I suspect maybe your used the Animation codec.
    How many MB's is the file? How did you get it uploaded to your server?
    Without knowing what video codec was used I'm just guessing. The only reason OS 9 would get involved is if you somehow used a very old (OS 9 only) video codec.

  • Can I browse non-local disk with a JFileChooser?

    Hello :)
    Is there any possibility to browse files on other computers with a JFileChooser? Neither API doc nor tutorial say a word about reading from non-local disk.
    I tried it this wayJFileChooser chooser = new JFileChooser();                
    try{               
    chooser = new JFileChooser(new File(new URI("http://java.sun.com/j2se/1.3/docs/guide/collections/")));    
    // I believe  http: is wrong here,  but what is correct?
    } catch (URISyntaxException mue){                   
    mue.printStackTrace();               
    }and got java.lang.IllegalArgumentException: URI scheme is not "file"

    Only if those non-local disks are mounted to the PC you are using. I'm not aware that Java can actually mount it for you. So either it's a shared or mapped drive in Windows or a mounted drive in Unix. It can't use http because the HTTP protocol doesn't really allow for file browsing, per se. Web servers can serve a directory listing for directories if it's enabled on the server and no default file is in the given directory, but that isn't so much used anymore.

  • Calling Azure Key Vault from a non Azure hosted application

    Hi,
    I need to know whether I can call the Azure's Key Vault from a non Azure hosted application which is either running on a private cloud or on premise. I believe it will as long as I authenticated with that MS Azure AD and then use the token to access the
    Azure's Key Vault.
    Regards,
    Wahaj

    Hi Wahaj,
    Yes you can, there is no requisite that the consuming client should be azure hosted. It can be a console application too running on your local system, as long as it is able to authenticate against the azure ad. The sample that I have used
    here is a console application that talks to the key vault service. 
    Let know if you need any additional information
    Please mark posts as answers/helpful if it answers your query. This would be helpful for others facing the same kind of problem

  • To invoke a java Program from non-java Clients

    I need to develop a program in java which will be invoked using some non java client. For example: for the time being my java application will be invoked by tandem. Also, a huge volume of transactions can be expected to come in and these need to be processed at high speed(response time of 5 seconds or so). Any suggestions ?

    By Tandem..I mean a non-java client...
    We need to look at possible architectures for implementing the payment module of the an application. We can think of the payment module as a Java process that does the following � 1. validate the card and some other stuff....
    The payment module should be able to support non java clients...
    Take the case when a customer swipes a card at a store.... Another process (call it the router) determines if the transaction info needs to be sent to my java program... If yes , the router invokes my payment module. The router can vary from store to store ... So my Payment module will be invoked by non java clients... As part of deciding on the architecture we need to decide on the protocol used for communication � http/tcp/iiop etc.
    Also, we need to decide on the various options for implementing the payment module.... It can be webservices, EJB Session Beans etc... But the key point is ,.....performance.... A huge volume of transactions can be expected to come in and these need to be processed at high speed(response time of 5 seconds or so).

  • Error on invoking a webservice by giving ip address instead of local host

    Hi,
    I created a web service through jdeveloper and tried accessing the webservice generated WSDl file by giving ip address of my machine , but it throws me an error stating IE cannot display the web page . The same web service is running fine when giving local host on the Web service URL .
    Looking frwd fr sme help
    Thanks in advance
    Ragaven

    Hi,
    your WebLogic server is not setup to listen for the IP address. You can change this in the WLS console for the server configuration. Note that when you install WLS and don't define any hostname then it will listen to all addresses (which also is the default for the integrated WLS)
    Frank

  • Redirect from HTTPS to HTTP in case of Local Host Access.

    Hi,
    I have configured my tomcat for SSL by generating Self Signed Certificates using keytool.I don't want to use secure connection, if request is coming from the local machine i.e the machine where self signed certificate exists.
    What kind of changes in configuration files (web.xml/server.xml) will be needed to achieve the same.
    i.e If I use URL https://localhost:8443/index.jsp on the local PC, It should redirect to http://localhost:8080/index.jsp
    Will this be possible to Achieve with some changes in web.xml/server.xml files.
    Pls help me!!

    try redirecting with encoding..
    response.sendRedirect(response.encodeRedirectURL("http://machine/welcome.jsp"));if this doesn't work.. attach the session id ...
    String url = "http://server/welcome.jsp"+";jsessionid="+session.getId();
    response.sendRedirect(url);bye

  • [SOLVED] Local Hosting Using a Dynamic DNS

    I've been trying to self host a domain to use owncloud with, through www.mydomainname/owncloud.com or something similar. I've gotten a LAMP set up with a virtual host, have signed up with https://freedns.afraid.org/, set the afraid nameservers, set my IP as an A record through my domain provider and have tried to install a dynamic DNS client on my server computer, though I have not gotten successful results. On my LAMP I've set a virtual host for my domain and I've been able to connect to it locally but not outside of my network. I was able to ping my domain that would in result ping my home IP address but now I get an unknown host. I've also tried to set up my DDWRT router with the provided dyndns. At this point I'm not sure what I'm doing incorrectly.
    Another issue I've been having has been finding a working dyndns client, afraid-dyndns-uv from the AUR gives me a hash error, and the only promising client I've been able to find is freedns-afraid, but it's an RPM package and I don't know how to make use of the files in the tarball.
    I can provide any needed configs, though I don't think that a config would be an error as I've been able to start up my httpd service and connect to it locally perfectly fine. I would greatly appreciate any help c:
    Last edited by 0X1A (2013-06-16 20:19:10)

    0X1A wrote:Alright, so the problem with not being able to ping my IP again was with my registrar nameservers, I had to remove the provided nameservers from them and only use the afraid ones. Now I can ping my IP address but I still can't connect to my domain through my LAMP so now I'm guessing it's either a port forwarding issue or a issue with my apache configuration. What exactly should I have on my httpd conf? I have the ServerName set to my domain name, is there something I'm missing?
    My "ServerName" isn't set to anything particularly special. It's "archsystem:80", which is what I call my computer locally. Here's the entire file for reference:
    # 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 'log/access_log'
    # with ServerRoot set to '/www' will be interpreted by the
    # server as '/www/log/access_log', where as '/log/access_log' will be
    # interpreted as '/log/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 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 "/etc/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
    # 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_default_module modules/mod_authn_default.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 authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule dbd_module modules/mod_dbd.so
    LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule reqtimeout_module modules/mod_reqtimeout.so
    LoadModule ext_filter_module modules/mod_ext_filter.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    LoadModule substitute_module modules/mod_substitute.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule log_forensic_module modules/mod_log_forensic.so
    LoadModule logio_module modules/mod_logio.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 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_scgi_module modules/mod_proxy_scgi.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule ssl_module modules/mod_ssl.so
    LoadModule mime_module modules/mod_mime.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 cgi_module modules/mod_cgi.so
    LoadModule cgid_module modules/mod_cgid.so
    LoadModule dav_fs_module modules/mod_dav_fs.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
    LoadModule php5_module modules/libphp5.so
    <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 http
    Group http
    </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 archsystem: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 "/home/http"
    # 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.
    <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 "/home/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.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 All
    # 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 index.php
    </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 "/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 /run/httpd/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
    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
    # Use for PHP 5.x:
    AddHandler php5-script php
    # 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 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>
    # PHP
    Include conf/extra/php5_module.conf
    # phpMyAdmin
    Include conf/extra/httpd-phpmyadmin.conf
    # General shared files
    Include conf/extra/httpd-drcouzelis.conf
    # Angela's files
    Include conf/extra/httpd-angela.conf
    I'm sorry, I'm having a really hard time understanding the terminology you're using (maybe because I'm just not educated enough). Even so, I'll look into what else might be the problem...

  • Spamassassin Ignores Local Host Aliases?

    wacondatrader.com is the primary domain for my server. I also have local host aliases for beloit-kansas.com, kvsvradio.com and plainstrader.com. My ISP has pointed his DNS records to my server and my user account "joe" receives email to all of these domains, as do all of my user accounts setup to use mail services.
    I am running MacOS X 10.4.4 Server (just upgraded from 10.3.9).
    I have Spamassassin and ClamAV running. Junk mail is being scored and filtered, but for wacondatrader.com ONLY. For email sent to any of the other domains, I am not getting any X-SPAM headers in the email to show that Spamassassin has been there. However, I am getting X-VIRUS headers on email to all of the domains. What do I have to do to get my Server's Spamassassin to process email for all of the domains, and not just the primary one?

    If above fix works, none Did you try?
    If not, the output of postconf -n would be a start.
    Plus the settings you chose for content-filtering
    (amavisd.conf is to big to post)
    Also, did you have spamassassin on your Panther
    install already or only since you updated to Tiger?
    I tried your suggestion, but no success. Here is what I wrote on the MacOS X Server mailing list:
    I have wacondatrader.com setup as my primary mail server in the general Mail Services settings pane. I also have several other domains that resolve to my server that I have setup in the Virtual Host Aliases in the Advanced Settings/Hosting panes. I recently upgraded from Server 10.3.9 to Server 10.4.4 and I did NOT have an existing Spamassassin/ClamAV installation. What is there is what the 10.4 installer placed there.
    Is it the default install behavior for only the default domain to be tagged with the X-SPAM tags? I have in the amavisd log, compared an email to the default domain and one to a virtual hosted alias domain, and the log shows that amavis is scanning both for viruses (the X-Virus tags show up in all emails), and it even shows that all emails are being scanned for spam. The ONLY difference is that the log entry that says "SPAM-TAG . . ." is missing from the virtual host alias domains. The virtual host aliases domains even show that a hit count is being generated, so it looks like everything is being processed except the part that adds the spam tag headers to the email. The default domain emails are the only one that the spam tag headers are added to.
    Do I need to assume that I need to modify the amavisd.conf file some how, or should Spamassassin be expected to scan the default domain and virtual host aliases in a default Tiger server install?
    I tried the following advice from the Server discussions board at Apple's support area of their website (and also from similar instructions from this mailing list from about a month ago, that I found by searching the archives):
    In a text editor open /etc/amavisd.conf
    Search for the section that reads:
    @localdomainsacl = ( ".$mydomain" );
    below it add this line:
    @localdomainsmaps = ( 1 );
    Save.
    Stop and Start Mail Services
    I logged into my server locally with the root account, followed the above instructions, opened amavisd.conf in TextEdit, but the desired change did not happen.
    Joe

Maybe you are looking for

  • Opening a file in Application Server

    Hi Friends, I have a file 'abc' in application server, and i don't know the extension of it . while trying to open it using OPEN DATASET   statement, it fails because of no extension. I have tried using 'abc.*'  in the open dataset   statement but it

  • Photoshop CS 2 Update For Intel Core Duo?

    Does anyone know if there will be an update to Photoshop CS2 to optimize the performance on an Intel Core Duo? The performance of Photoshop CS2 on my Mac Book definitely seems slower than on my older G4 Powerbook.

  • CUCM - Enterprise License Manager - API availablity

    Hi, I would like to know if any rest/soap APIs are available to fetch / get Call Manager licenses information whatever is displayed in ELM. Could somebody please direct me to the right documentation for this ? Thanks, JP

  • Slideshow music skips

    After burning a slideshow i noticed that the music and video "stutters" at 8min and 58 seconds. 9 min also happens to be the length of each title. i have tried the discs on a few dvd players and also on my computer. same results eachtime. is there a

  • I am trying to export my project to an avi file, but its only exporting the audio, help?

    I am trying to export my project to an avi file, but its only exporting the audio, help? I can open the avi file but there is not video. I am choosing uncompressed avi, 1080x720 frame rate 29.97, what can i do?