HT5697 How do i configure os x server wiki to use the external web server?

I have a Mac mini Server with OS X 10.10 and Server 4.0 running in a DMZ behind a firewall. The firewall passes a select few ports through to this server, exposing services to the Internet.
I use two domains, one dummy domain only available on my local networks, and one proper domain available globally. Lets call them «example.lan» and «example.com». These domains are not hosted on the Mac mini, btw.
In the external domain, I have «server.example.com» registered on my firewalls official IP address.
In my internal domain, I have «server.example.lan» registered to my Mac mini internal (rfc1918) IP address.
Server 4.0 -> Websites seem to work as expected. I have three servers configured: «Server Website - All IP addresses», port 80 + 443. These serve the local networks. Then there is «server.example.com», port 443, serving the internet.
Now to my question: How to I control which of these websites we Wiki uses?
When I activate the Wiki, it is published on «server.example.lan/wiki», which seems rather pointless. In order for the wiki to be available to the internet, it needs to be published on «server.example.com/wiki», but I see no way of doing this. What am I missing here?
Regards,
Gakke

it does look like you can add virtual domains in the GUI of Server.app on at least some versions, but I don't have an OS X Server 10.8 version handy to check.
I'd encourage spending some time to learn the command line.  In general, the payoff for learning the command line will be worth the effort expended.  You're running a mail server here and sooner or later the capabilities of the GUI will fail you.  This whether due to a configuration omission in the GUI itself, or due to the need to troubleshoot a malfunctioning mail server, a need to automate one or more of the Postfix-related sequences, or some other IT-related task.  Entirely FWIW, of course.
Here's a cut-and-paste of the sequence just used to test the command line access to the Postfix configuration, first fetching the current value, appending example.com as the second domain, then displaying the new value, then restarting the Postfix server.  Don't enter the dollar signs; just the postconf command and following.  Adjust example.com to match your domain...
$ postconf mydestination
mydestination = $myhostname, localhost.$mydomain, localhost
$ sudo postconf -e 'mydestination = $myhostname, localhost.$mydomain, localhost, example.com'
Password: {your admin password here}
$ postconf mydestination
mydestination = $myhostname, localhost.$mydomain, localhost, example.com
$ sudo postfix reload
The Postfix and Postconf commands work irrespective of the OS X Server version; the tools reference the data files as needed.

Similar Messages

  • Using the Embedded Web Server To Connect A Wireless Printer To Your Network

    AKA:No Wireless Setup Wizard Button, which would be way easier.
    The Prelude
    Some entry level printers do not offer a 'Wireless Setup Wizard' button, or a menu option that is accessible from the front of the printer. Printers that do not offer this luxury option, can still be easily configured to communicate to your router if you have a Mac or Windows PC.
    You still may have an easy option to get your network settings configured in your printer, if your router supports WPS. I personally do not like to use WPS as it can bring its own frustrations. WPS is not within the scope of this document.
    This document is geared towards the last available option, and in my opinion the best option. It can however be the most involved option. I am referring to using the Embedded Web Server (EWS). Most modern network capable HP Printers have a setting page that can be accessed from a web browser. The process is rather simple, but many confusing hiccups can occur, and that is what I hope to prepare you for.  There will be variances for different printers. I am using my experience with consumer printers that have been around the last few years.
    First, do not get overexcited about this document: Accessing the HP Embedded Web Server. Don't get me wrong, it is a great document, it's just that the instructions, while accurate, will not work until your printer is configured to connect to your network first. We will revisit this later however.
    Seatbelts Please
    The first thing we need to do, is have the printer broadcast its own network, sometimes referred to as AdHoc, sometimes referred to as Auto Wireless Connect. To do this, you need to navigate the menu system of the printer, and find the option to reset the network settings, network defaults or something similar. If your printer has the Wireless Direct feature you won't need to reset the network settings, but this is a perfect time to make sure Wireless Direct is turned on. If you aren't using Wireless Direct, the timer starts. Generally speaking, for the next two hours, the printer will broadcast an 'HP Setup' network, or have some variation of the printers name listed in available wireless networks. Regardless you should have plenty of time, if you read it all first and then went throught the steps.
    *Preparation:
    Here is where you want to use your favorite device, one capable of seeing 2.4ghz networks. Android phone, Apple iPad, Chromebook, Windows or Mac Notebook that you decided not to install the printer software on. Any of these devices will work. Apple iOS devices required a bit of coddling, as Safari doesn't work well with the EWS Wireless Setup Wizard.
    Do you know your network SSID? What about the passphrase, passkey or whatever the security word is called?
    If you didn't set it up, and just started using it when the internet guy installed it, then there is probably a sticker on the router with that information. If you still can't find it, call your ISP, router manufacturer or favorite family member for help to find that information (If you use a family member, remember to buy them something nice on the next gift giving holiday in your region).
    *Apple iOS specific, device preparation:
    1. You will save yourself a lot of frustration by downloading the Chrome Browser for iOS now. Go ahead, I will wait...
    If you are installing Chrome for the first time, when it completes the install, open it, and get passed the greeting and tutorial before continuing.
    2. You need to forget your home network connection when you are done with step 1. Just hold down on your home network in the wireless networks list, and 'Forget' the connection (or find the arrow that leads to the same option). If you do not take this step, it will reconnect to the home network once you run the Wireless Setup Wizard, causing you to have to back track.
    3. Be aware, when you connect to your printer's network, that it may appear to not connect (ie. spinning wheel, no confirmation) to the printer. This is a known behavior. Just close the wireless settings, and proceed as normal.
    Begin The Journey
    Open up the wireless section of your device and look in the list of available networks and tell it to connect to the HP printer network. The SSID will usually start with HP, and may have the printer model or the word SETUP in the name. Once you are connected (see "Apple iOS specific, device preparation #3 if you are using iOS), it is time to open your browser, preferably the Chrome browser when at all possible. In the address bar type 192.168.223.1 and press go or hit enter. I use the colloquialism 'hit' when I just mean 'press' again, sorry for the redudancy.
    If all is well, you should see a web page that should refer to your printer. Now is the time to find the 'Wireless Setup Wizard' button. Most printers should have it here on the main page of the EWS. Just take your time, it may not be obvious at first. Once you press it, the setup process will begin. Follow the instructions. It should see a list of detected wireless networks, and you can select your home network. Then if it requires a password, it will prompt for you to enter it. At the end of the Wizard, it might say something about not being able to test it, or show a page cannot be displayed screen. This is OK. This means the printer is now talking to your router and not your device in your hand.
    Proof Of Concept
    You can now tell your device to scan and connect back to your normal home network. Once you connect, you can verify if you can see your printer. Keep in mind, with dual band routers, that the printers will typically only be visible on the 2.4GHZ network, so your device should also connect to that network as well for testing. Once connected, now we need to find out what IP Address the printer has. Remember the document I started with “Accessing the HP Embedded Web Server”. It now is relevant, and you can complete those instructions to make sure you can see your printer on the same network. If your device can enter the printers EWS with its new IP, then you have officially connected your printer to your network. Also your printers wireless light should be solid, indicating communication.
    If It Worked
    Now the fun begins. If you are setting up ePrint, and if there is no option to configure ePrint from the front panel, find the Web Services tab, and proceed with that process. If you are setting it up to a Chomebook, you still need to setup ePrint (if it is an ePrinter) before configuring Cloudprint... but that's another document.
    I hope I have not missed any small detail that pertains to your configuration that made this hard to follow. Any comments would be welcomed to improve this for future use.
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

    That printer also has a USB port why don't you connect it using that port?
    If you insist on using ethernet, Mac OS X can create two network connections at the same time. On the iMac you can configure one of the network connections to be wireless and the other to be wired using the ethernet port.
    Since you already have a wireless network configured and connecting to your AirPort Extreme for Internet access all you need to do is plug in an ethernet cable from your iMac directly to your printer and configure them to use self-assigned IP addresses. Self-assigned IP addresses take the form of 169.xxx.xxx.xxx and are used in this configuration to avoid any conflicts with your other network. You have to configure the iMac and the printer to each have a unique IP address in the self-assigned range, just make each of the last group of numbers in the IP address different, and then the iMac should be able to print to the printer.
    Note that when you configure the Imac and printer this way no other network devices will be able to print

  • I am using the "G Web Server" with Bridgeview 2.1. The problem I am having is that I have to

    restart the web server once every 2 to 3 days, or the web pages don't show the vi (images). Any ideas to trouble shoot - I dont know if the problem is related to my workstation hardware or a setting that needs to be tweaked on the G Web Server. Thank you.I am using a Pentium 233 machine/ Win 95. The PLC I am collecting info from is a GE Fanuc Series 9030 (?). Ethernet connection.

    restart the web server once every 2 to 3 days, or the web pages don't show the vi (images). Any ideas to trouble shoot - I dont know if the problem is related to my workstation hardware or a setting that needs to be tweaked on the G Web Server. Thank you.Hi,
    we are using the G Web Server with LabVIEW on a WinNT 4 machine. Up to now these works fine. Therefore I would recommend you to choose a more stable OS.
    Maybe you can try to programmatically restart the server every 2 days. Within LabVIEW you would do this by running "HTTP Server Control.vi". Unfortunatly all connections will be closed, thus be aware of that!
    Hope that helps
    chris

  • Error: 500 INTERNAL SERVER ERROR after deployed the office web server in SharePoint 2013

    Hi everyone,
    I just installed office web server in one virtual machine which name WAC, and I followed all steps for configure and deployer with SharePoint 2013. It did fine without errors. But When I opened a word or ppt or excel in office viewer mode of SharePoint site.
    It show me 500 INTERNAL SERVER ERROR, and nothing more.
    Could anyone tell me why? Many thanks.

    So you need to troubleshoot WAC.
    http://www.wictorwilen.se/office-web-apps-server-2013---machines-are-always-reported-as-unhealthy contains an extensive explanation how to do that, the WAC log files will give a clearer indication than the "500" error, which just says it doesn't work.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Disabling Weblogic's http server port - Using an external web server

    Hi,
    We are using Weblogic 8.1 as application server and IWS as web server. We have
    siteminder web agent configured on the web server for implementing authentication
    and authorization.
    All our requests first go to the web server which redirects them to the application
    server.
    Since Weblogic itself has a http listen port, user can still send requests directly
    to the application server(which does not have any siteminder configuration on
    it). Is it possible to ensure that all http requests made directly to the application
    server are not processed so that the user is forced to hit the web server first.
    Thanks,
    Akash

    When you say redirect, do you mean you use an HTTP redirect to send it to your
    WLS servers URL? Or do you mean you proxy the requests from the webserver to
    the WLS instance? In the former case, you must expose WLS's HTTP server to the
    clients in order to redirect them to the address and you will not be able to
    stop them from going directly there. In the case of the latter, you can put
    your WLS instance behind the firewall so external users can't get to it. If you
    also need to protect it from internal users you should probably not use
    siteminder as your authentication mechanism. You may be able to configure
    siteminder so that it has to authenticate itself to send requests to weblogic
    and then protect all weblogic resources with that role requirement.
    Sam
    [email protected] wrote:
    Hi,
    We are using Weblogic 8.1 as application server and IWS as web server. We have
    siteminder web agent configured on the web server for implementing authentication
    and authorization.
    All our requests first go to the web server which redirects them to the application
    server.
    Since Weblogic itself has a http listen port, user can still send requests directly
    to the application server(which does not have any siteminder configuration on
    it). Is it possible to ensure that all http requests made directly to the application
    server are not processed so that the user is forced to hit the web server first.
    Thanks,
    Akash

  • How to create web applications with the LabVIEW web server

    Wonderful Forum,
    I've noticed that sometimes it can be tricky for LabVIEW users to learn how to create their own custom web clients using the LabVIEW web server. I created a LabVIEW web development community group and wrote some tutorials to teach the basics of creating web clients using HTML, Javascript, and AJAX. The idea is that LabVIEW users without any web background can quickly look at some tutorials and examples to get started on their own projects.
    https://decibel.ni.com/content/groups/web-services
    What do you think?
    Joey S.
    Software Product Manager
    National Instruments

    Hi Joey,
    A great idea! I recently presented at a local user group meeting about my WebSockets API (see the links in my signature). I've uploaded the presentation and the demo code I gave to our UG here.
    I think the barrier to entry is with needing to know the web languages (e.g. html/css/js) as well as writing your LabVIEW code. I have joined the group and look forward to seeing some interesting content on there! Certainly some demos of using AJAX to make requests to Web Services and do something with the data (e.g. display on a graph) would be a good place to start.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • How build the G web server ?

    Hello.
    How can I build the G web server from internet toolkit?
    I can compile my application that uses the G web server fom internet
    toolkit, but after do it and tried to call my application the g web server
    does not func.
    Manuel Carvalho
    \|/
    (o o)
    -----------------------oOOo--(_)--oOOo---------------------
    Manuel Carvalho mailto:[email protected]
    IDITE-Minho
    |Electronic Automation Unit
    |Av. Dr. Francisco Pires Goncalves
    |4710-911 Braga
    |Portugal
    |http://www.idite-minho.pt
    Tel: +351 253 209300
    Fax:
    +351 253 209301

    I would suggest looking at the document on the NI website called http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/4599aaa1d7c13b0e8625664a00627d7f?OpenDocument
    If you can't get to that link, go to www.ni.com, and select Support and Services.
    There is a search text window in the lower left. Type g server in it, and do a search. The first item that returns in the list is the document you want.
    Mark

  • External Web Server links to internal web server on LAN - how to configure?

    I'm hoping someone can give me a bit of assistance with some routing configurations:
    Currently, I have a Cisco PIX 515E that's handling my VPN and routing/DNS, etc. I'm dumping the PIX (it's overkill for my organization and it's costing too much money for Cisco-certified techs to come in and still not configure it correctly for my needs - long story).
    Furthermore, an external website hosted with our ISP links to a public IP (let's say 192.x.x.1) that points through the current PIX firewall, through a DMZ, and then to a webserver hosted locally behind our firewall.
    I'd like our Xserve to take over for the PIX, providing VPN access, DNS, etc. and to properly route calls from the web to 198.x.x.1 to the correct server behind out network.
    The Xserve has two NIC cards, one on a public IP 192.x.x.2 (for the sake of this discussion) and one with it's internal address of 10.1.0.2 for file sharing, etc.
    The internal web server also has 2 NIC cards, one that listens for the links to 192.x.x.1, and one that listens locally on 10.1.0.80 for LAN application services.
    How do I configure DNS/etc. on the Xserve to properly channel the incoming calls to 192.x.x.1 to properly reach the server they're supposed to reach?
    Any help is appreciated. If more info is needed, I'm happy to provide.
    Thanks in advance!

    I've read your post several times and I'm pretty sure I understand what you're saying, until the line:
    >How do I configure DNS/etc. on the Xserve to properly channel the incoming calls to 192.x.x.1 to properly reach the server they're supposed to reach?
    Assuming that the 192.x.x.1 address is a real-world, public IP address that the web server is using, you want all requests from the outside world to go to this address, correct? but requests from the inside world want to go to the 10.1.0.80 address on that server?
    That part I get - you want split DNS, which is not trivial to setup, but is manageable. The part I don't get is where the firewall comes in - you're removing the pix and replacing it with an XServe, but the web server has a public IP address in the same range as the XServe's public IP address and on that basis no traffic is going to flow through the firewall.
    So I'm not sure if this is a firewall or a DNS question.
    Split DNS will handle the internal vs. external traffic going to the different IP addresses of your server. You can't use Server Admin to do this (it can't handle multiple views of the DNS), but it is possible to do by hand.
    The firewall element stumps me, though - but if the XServe is going to run as the firewall you might just find it easier to put the web server behind the firewall and forget the whole DMZ concept.
    Then again, you could get the PIX operating correctly - it's a viable firewall appliance and I'd be surprised if it couldn't do what you want here.

  • How to configure Ironport to Use an external Encrpytion server

    Hi,
    We would like to use an external encryption server to encrypt our emails.
    The Ironport would still be the MX for our domain, and the encryption server would be in the same DMZ as the Ironport.
    Here is the setup we would like to implement:
    Incoming emails:
    - Ironport check the connexion (senderbase)
    - If encrypted (how to detect the mail as encrypted) the mail is not scan AV / SPAM
         - the is it goes to the decryption server
        - then back to Ironport to scan AV/spam
        - then goes to exchange
    - If not encrypted the email is scanned AV/Spam
        - then goes to Exchange for delivery
    Outgoing emails:
    - Exchange to Ironport
    - Scan AV/Spam
    - If needs to be encrypted (with header detected)
         - then goes to encryption server
        - then back to ironport (no scan AV/Spam ) and delivery to Internet
    -If does not need to be encrypted
          - then send to Internet
    Is it possible to configure the Ironport to get this behaviour? and how? I still facing problems with the different flows....
    Any idea would be very helpfull
    Regards
    RD

    For incomig mails you can create a message filter like the following one:
    route_pgp_smime_encrypted_data:
    if (recv-listener == "your listener") AND (encrypted) AND (remote-ip != "IP of your encryption gw")
    alt-mailhost ("IP of your encryption gw");
    Greets
    Jörg

  • How to use the same OC4j server with different port number

    How to use the same OC4j server with different port numbers..?
    I have to OC4J installed on my machine on different hard disk drives....
    I want to be able to run both the server simultaneously..?
    is it possible ..it yes then how..?
    for that i have changed the port number of one server...
    but when i am trying to start the other server with different port number..it says that JVM -Bind already...
    Is there any clues...?
    Nilesh G

    In the config directory:
    default-web-site.xml: Change the port the HTTP listener listens on
    jms.xml: Change the port the JMS service listens on
    rmi.xml: Change the port the ORMI listener listens on.
    Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
    Rob
    Oracle

  • How can I configure my new Mac Pro to output the timeline via HDMI

    How can I configure my new Mac Pro to output the timeline in FCP 7 (yes, I have X, but I'm using 7 right now). I have two monitors running from TB2, but want to have the third for a client monitor.
    If I use all three via TB2, it's literally three monitors, and I want to edit on my CineDisplay. I only want the client to see the timeline video on the third monitor. When I hook up HDMI I get no signal, in fact, I can't have the HDMI cable hooked up for TB2 to work with the third.
    Thanks,
    GEvans
    DarthPro
    3.7 QCIntelXeonE5
    12 GB
    AMD FirePro dual D300 2048MB
    OSX 10.9.2

    If you use all ThunderBolt displays, or stick with DisplayPort and Mini DisplayPort (free conversion between the two with only a cheap cable) you can have up to six displays.
    If you attach "legacy" displays with "any-old adapter", you can have up to two, and the built-in HDMI counts as one if you use it.
    Any more requires ACTIVE Adapters.
    The US$100 Apple ACTIVE Mini DisplayPort to Dual-Link DVI adapter works in every case, even displays over 1920 wide.
    StarTech and Accell make US$35 ACTIVE adpters that work for displays up to 1920 wide.

  • I have installed HP2035n. But when i try to open the embedded web server, i get the error "Firefox doesn't know how to open this address, because the protocol (fe80) isn't associated with any program." What is the possible solution?

    I have installed HP2035n. But when i try to open the embedded web server, i get the error "Firefox doesn't know how to open this address, because the protocol (fe80) isn't associated with any program." What is the possible solution?
    I typed in the IPv6 address of the printer in the address feild of firefox.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Problem while configuring the Apache Web Server as the Intermediary Server

    Hello,
    I want to use Apache 2.0 web-server as a proxy for my SAP EP so that I could access http://portal_server:50000/irj through this Apache external web-server.
    I checked this sap help link as a reference.
    http://help.sap.com/saphelp_nw04/helpdata/en/18/5cea2296190e4cb7faf9468ad793ea/frameset.htm
    But still not clear what exact configuration I need to do in the httpd.conf file. I searched the posted forums on this topic but couldnt get exact steps.
    It would be grateful if anyone can guide me on this configuration (redirecting url etc).
    Thanks in advance.
    -Mandar

    STEPS OF SECURE APACHE-SSL
    1.Install apache version like apache_x_y_z_win32.exe also select the right combination of mod_ssl and Openssl.
    (Like for apache1.3.33 you need mod_ssl_2.8.22 and Openssl_0.9.7f or Openssl_0.9.7g.
                       Or
    Select a mix of all three like [Apache_1.3.33-Mod_SSL_2.8.22-Openssl_0.9.7f-Win32.zip]
    (for this  install apache service also).
    2.    Select   httpd.conf file from (apache\conf) open it for configuration.
    3.   Stop the services of apache from Control panel \ administrative tools \ services.
             Note:--  may be it is possible all files for configuration will not be there in apache2.exe  then extract the 
              Apache_2.0.54-Mod_SSL_2.8.22-Openssl_0.9.7f-Win32.zip  file and copy conf,lib,modules logs
    files in corresponding folder of Apache2.exe.
                                                 HTTPD.CONF   Configuration
    1.     Replace all occurrences of www.my-server.dom with the real domain name!
           (If you have installed apache from .exe file then its doesn’t required but for . Zip archive file you have to replace it)
    2.     Comment port 80 like  # port 80
    3.     Write Listen 80 and Listen 443 in httpd.conf file.
    4.     Extract Openssl in any folder and copy files ssleay32.dll and libeay32.dll into WINNT\SYSTEM32 paste them here.
    5.     Download Openssl.cnf file because you need to configure openssl.exe. a link apear select saveas and save it to bin folder of apache2 directory
    6.     Copy all the *.exe, *.so, *.dll inside your apache\bin directory from extracted Openssl directory.
    7.     Write
                  LoadModule ssl_module modules/ApacheModuleSSL.dll
                      or
                  LoadModule ssl_module modules/ApacheModuleSSL.so
                      or
                  LoadModule ssl_module modules/mod_ssl.so
                 after the LoadModule lines that are already in the httpd.config file
          8.    Write AddModule mod_ssl.c this for apache1 for apache2 it is noy required.
               after the AddModule lines that are already in the httpd.config file.
         9.  Add the following to the end of httpd.conf:
                        SSLMutex sem
                        SSLRandomSeed startup builtin
                        SSLSessionCache none
                        SSLLog logs/SSL.log
                        SSLLogLevel info
                        SSLEngine On
                        SSLCertificateFile conf/ssl/my-server.cert
                        SSLCertificateKeyFile conf/ssl/my-server.key
                        ProxyRequests Off
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
    ProxyPass / http://ServerName:50000/     // your server name and port number
    ProxyPassReverse / http://ServerName:50000/   // your server name and port number
    ProxyPreserveHost On
    save the Httpd.conf file
                                                     GENERATING CERTIFICATE
    a.     Open Command Prompt
    b.     Reach till bin directory by writing like   cd apache\bin
    c.     Write command     bin> openssl req -config openssl.cnf -new -out my-server.csr and put required detail.
    d.      Write openssl rsa -in privkey.pem -out my-server.key.
    e.     Write openssl x509 -in my-server.csr -out my-server.cert -req -signkey my-server.key -days 365.
    f.     Write openssl x509 -in my-server.cert -out my-server.der.crt -outform DER.
    g.     Create an Apache/conf/ssl directory and move my-server.key and my-server.cert into it.
    10.     Start Apache services from control panel \ Administrative tools \ services.
    11.     Now you have made Apache as SSL enabled open browser and test it by https://localhost

  • How do I configure a counter to generate pulses using DAQmx?

    How do I configure a counter to generate pulses using DAQmx?
    Is says in the DAQmx C reference help
    "CtrnInternalOutput—The signal at this internal terminal is where the pulsed or toggled output of the counter appears. The output of a counter pulses or toggles when the counter reaches terminal count. When counting down, the counter reaches terminal count when the count reaches zero. When counting up, the counter reaches terminal count when the counter rolls over. To configure the counter to toggle or generate pulses, use the Export Signal function/VI with Counter Output Event as the signal name."
    I've tried this but can't get it to work, I may have the parameters wrong or something. The DAQmxExportSignal() function is very unintuitive to me. Here is my counter config code...
    int ret = 0;
    ret = DAQmxCreateTask("",&task_);
    errorMsg(ret);
    if (ret != 0)
    throw ret;
    // Configure the counter
    ret = DAQmxCreateCOPulseChanTicks( task_, "Dev1/ctr0", "", "/Dev1/PFI8", DAQmx_Val_Low, 0, divider, divider );
    errorMsg(ret);
    ret = DAQmxCfgImplicitTiming( task_, DAQmx_Val_ContSamps, 1000 );
    errorMsg(ret);
    // Change to pulse mode
    ret = DAQmxExportSignal( task_, DAQmx_Val_CounterOutputEvent, "/Dev1/Ctr0InternalOutput" );
    errorMsg(ret);
    // Start the counter
    ret = DAQmxStartTask(task_);
    errorMsg(ret);
    The above code works fine, in toggle mode, if I just comment out the DAQmxExportSignal() part.
    HELP!!!
    Stefan

    The problem is due to the DAQmxExportSignal call.  By default, when you create a counter output pulse train task, the driver will automatically set the output of the counter to toggle when the count for each high ticks and low ticks expire.  The driver also automatically routes the signal present at Ctr0InternalOutput terminal (the output of the counter internal to the device) to the Ctr0Out terminal (the I/O pin available externally).  Using the line
     ret = DAQmxExportSignal( task_, DAQmx_Val_CounterOutputEvent, "/Dev1/Ctr0InternalOutput" );
    will tell the driver to tristate the Ctr0Out terminal and not output the signal to the external I/O pin.  Using the DAQmxExportSignal function is generally only useful if you want to route the signal to some other terminal internal to the board without having the output show up on the external connector, route the signal to some other external pin other than the default pin, or if you want to have the output show up at multiple locations. 
    If you want to change the output behavior from toggle to pulse, you need to use the DAQmxSetExportedCtrOutEventOutputBehavior function.  However, this is generally only useful if all you care about are edges (not the duty cycle of the pulse train), and you want to generate higher frequency signals.  For example, with a 20 MHz timebase as the source of your counter, you can only generate a 5 MHz pulse train by default.  This is because the minimum value for the low and high ticks parameter is 2 (20 MHz / 4 = 5 MHz).  By changing the output behavior form toggle to pulse, you can generate a pulse train at 10 MHz since the output is now pulsing instead of toggling.  However, the width of each pulse is not programmable so you will no longer have a 50% duty cycle signal.  I don't remember exactly what the width of each pulse is, but I believe it's in the neighborhood of 50 - 100 nanoseconds in width.  I hope this information helps.

  • ACROBAT 8 - HOW TO CONNECT AND USE THE LiveCycle Policy Server?

    Hello everybody!!! I've just bought the ACROBAT 8.0, and I'm trying to use the LiveCycle Policy Server. The point is, I couldn't connect to the server.... is there any especific way to do it? It is the same configuration to connect to a normal web site server, right?
    I need to control a copyrighted PDF over the web restricting the massive copy
    THANK YOU VERY MUCH

    No it's not exactly like connecting to a normal web server. The connection must be made via https, not http. So the app server has to be configured for SSL. Also the connection will not be made in Acrobat if there are ANY warnings about the SSL cert. So if you can't go to https://serverName:serverPort in IE and get there with no warnings then you won't be able to connect via Policy Server. Also, you can't connect to Policy Server via Acrobat using a Policy Server admin user. It must be a user who doesn't have admin privileges.
    Chris
    Adobe Enterprise Developer Support

Maybe you are looking for

  • Lost data after upgrade to Lion

    Hi. I recently upgraded to Lion on my Macbook Pro and after a crash, my data was lost. The documents and downloads folders were empty. Fortunately I have a PC backup of the data and when I tried to restore the music to Itunes I was getting error mess

  • My iMac has the Mac OS x 10.5.8.

    Will I be able to update it to 10.6.8 which seems to be required to get snow leopard and following upgrades? i have 4GB ram and the required processor.

  • Calling report with parameter screen from form using frmrwinteg

    Hi,      I am calling a report with a parameter screen from a form and am using the frmrwinteg bean. This works fine on our test application server but, when moved onto our production application server, the database logon screen is presented after p

  • UMI 7764 second axis not working

    I have a strange problem with my NI motion control setup and I wondered if anyone could help me. I have the following setup: PCI-7330 connected to a UMI-7764 Connected to the UMI-7764 I have two P70530 stepper drives, themselves connected to two Nema

  • Which ram do you recommend?

    Corsair PC3500(433MHz) 2-3-3-7 or Corsair PC4000(500MHz)(3-8-8-4) Which one is faster?For my board?