Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

How to run multiple web sites

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #91
    Re: How to run multiple web sites

    Gregg

    problem is the app server can only run on 1 port so why not just use port443 or you need a second app server license

    Greg

    Comment


      #92
      Re: How to run multiple web sites

      Greg,
      I am using port 8080 on my computer,

      In testing(locally) I have a lotrun and an alsie in c:\a5webroot

      when I send 8080/alsie, it finds alsie and index.a5w
      when I send 8080/lotrun, it finds lotrun and index.htm
      They both run at the same time.

      I still do not have my domain names transferred(guess thats slow). Will test from way outside when I get it set up.

      My folder looks like this. I still do not know if it will work when published on the server. We will see.
      Dave Mason
      [email protected]
      Skype is dave.mason46

      Comment


        #93
        Re: How to run multiple web sites

        Now you have me curious.
        I have several folders in c:\a5webroot, with one of them actually using logins.

        I never knew about using session variables until roughly the past 6 months.

        I guess now is a good time to see whats going on in the sessions folder.
        Gregg
        https://paiza.io is a great site to test and share sql code

        Comment


          #94
          Re: How to run multiple web sites

          I did this wrong first and right(speculation at this point).

          I first did all of it from one adb. I did not like what it did to the folder(just not looking right).

          I sent one from the database from the adb for alsie and the other from the adb for lotrun.

          it is important I think to do BOTH setups in the was for the names you are going to use.

          clicking web or profiles at the top, you can add the name of the website and it also needs to be added again.

          I still don't know if an adb can be accessed from these folders. I will refine and work on that later.
          Dave Mason
          [email protected]
          Skype is dave.mason46

          Comment


            #95
            Re: How to run multiple web sites

            Gregg,

            Look back a page or 2 and bea- eric gave a way to make that work. I have not tested that. Not smart enough yet. I saved it though.

            Extend the Class of the session like:
            - session.APPS.[__protected__]yourvar

            .
            Dave Mason
            [email protected]
            Skype is dave.mason46

            Comment


              #96
              Re: How to run multiple web sites

              Dave

              while you have not tested live yet you will find
              domain names do not have a page attached to them

              mydomain.com/index.htm or index.a5w

              you will run into trouble as you always need an index page for the app server

              I guess if you like index1.htm or index2.htm you can live with it
              but what are you going to do when you need more than 1 logon page

              the app server has no brain to sort out domain names you point
              www.domain.com at the app server and it will use any page in the default pages list it CANNOT think index.htm belongs to domain.com it only knows the folder has a index.htm in it

              If domain.com does not have a default start page in it you will get a page not found error 404 Any of your links will have to be complete ------- http://www.domain.com/index.htm

              try this link
              http://www.eelriver.com/dave.htm Works pretty nice huh

              I don't want to shoot down your hopes of making this work but I think I have a bit more experience in network setup

              Greg

              Comment


                #97
                Re: How to run multiple web sites

                Yes you do have more experience. No doubt and I read what you write carefully.

                I think our server(WAS) is better than I thought it was a few days ago.

                I DO wish it had name recognition built in and an email server. I do not mean and email like we have now, I mean a real server.

                I found alpha gives a list of names to default to that you can modify. alsiesings.com is actually translated by namecheap to http://173.169.192.3:8080/index.a5w. I did test this with 2 folders in a5webroot and it still found it. I manually added index.html (http://173.169.192.3:8080/index.htm. ) instead and it found the file.

                I will have 2 seperate sites

                c:\a5webroot\lotrun = http://173.169.192.3:8080/index.htm
                c:\a5webroot\alsie = http://173.169.192.3:8080/index.a5w

                This seems to work from the web. I just have to make sure I train namecheap to use this right.

                I can also use http://173.169.192.3:8080/alsie and it finds index.aw5 or http://173.169.192.3:8080/lotrun finds index.htm

                I am inexperienced enough at this that I will try anything to get what I need to work. I am not sure why I would want 2 start files in one site. I do have a seperate page where I can see who visited and it has it's own name so I can simply go straight there?

                Remember, these particular sites are for my own use. They are nothing fancy or heavy database use. If I were designing for a client, there would only be one site in the server.

                Thanks for all help from everybody. I had to start somewhere.





                .
                Dave Mason
                [email protected]
                Skype is dave.mason46

                Comment


                  #98
                  Re: How to run multiple web sites

                  Ok
                  Tested as above and all is working as planned

                  www.alsiesings.com goes to alsie folder and db for guest works
                  www.lotrun.com goes to lotrun folder and guest page not setup yet.
                  Dave Mason
                  [email protected]
                  Skype is dave.mason46

                  Comment


                    #99
                    Re: How to run multiple web sites

                    Looks like you have done some real good work here - what about security - have you tested that? - Even if you haven't it's a good get! - well done.
                    Insanity: doing the same thing over and over again and expecting different results.
                    Albert Einstein, (attributed)
                    US (German-born) physicist (1879 - 1955)

                    Comment


                      Re: How to run multiple web sites

                      Pete,

                      I have very little need for security with these. I see no reason it would not work though.

                      In the early days of v5, I wrote my own security(with some board help) and liked it better than what alpha had. I can get ssl if needed and believe that to be enough for what I will ever do for myself.

                      I made one error in the lotrun part and just repaired it. The tables were lost LOL.

                      Alpha did good, but it was harder because the steps were not findable in any help I located.

                      There are 2 web pages completely seperated that run fine in every respect on an XP Pro machine with no IIs or Apache. I do not know if session variables are islated or not.

                      Now on to serving up some emails.

                      .
                      Dave Mason
                      [email protected]
                      Skype is dave.mason46

                      Comment


                        Re: How to run multiple web sites

                        Dave,

                        Could you give an update on how things have worked out so far with this, any glitches?

                        Comment


                          IIS7 - Application Request Routing (ARR) / Apache mod_proxy (reverse proxy)

                          Hi,

                          I have a bit of understanding of this. Have not tested anything yet, but doing my research now



                          If you are running Apache,
                          look into mod_proxy and/or mod_rewrite

                          Post #60 above in this thread looks pretty good.

                          Also see the last diagram on this page to visualise what's happening with the reverse proxy

                          http://www.akadia.com/services/apache_redirect.html



                          If you are running IIS,

                          (a) For a very simple reverse proxy, all you have to do is:
                          1. Select the server node on inetmgr.
                          2. Double click on Application Request Routing icon.
                          3. Select/check "Enable proxy".
                          4. Select/check "Use URL Rewrite to inspect incoming requests.
                          5. Enter the server of where you want to route the request to in "Reverse proxy" - ie. (myserver.contoso.com)

                          (from http://forums.iis.net/t/1156458.aspx )


                          (b) Here is another option
                          http://urlrewriter.codeplex.com/


                          (c) take a look at ARR (Application Request Routing)
                          which is what I am looking into now, as ARR does a lot more than just reverse proxy

                          here are some useful links

                          http://blogs.msdn.com/b/carlosag/arc...e-and-arr.aspx

                          http://stackoverflow.com/questions/2...t-to-different

                          http://blogs.iis.net/wonyoo/archive/...rse-proxy.aspx

                          http://learn.iis.net/page.aspx/659/r...quest-routing/


                          http://www.iisadmin.co.uk/?p=326&page=1
                          http://www.iisadmin.co.uk/?p=326&page=2
                          http://www.iisadmin.co.uk/?p=326&page=3
                          (see image at top of page 3 (last link) to see the important rewrite setting)


                          Download ARR here.
                          http://www.iis.net/download/ApplicationRequestRouting
                          (Don't watch the video on that page... it's not about what we want to use ARR for!)

                          Detailed documentation for ARR
                          http://learn.iis.net/page.aspx/465/u...ion-reference/

                          ARR help forum here
                          http://forums.iis.net/1154.aspx

                          Some potentially good threads
                          http://forums.iis.net/t/1179785.aspx
                          http://forums.iis.net/t/1178212.aspx
                          http://forums.iis.net/t/1177759.aspx
                          http://forums.iis.net/t/1176755.aspx

                          Bonus security trick, restrict by IP address/range
                          http://forums.iis.net/t/1172687.aspx

                          Comment

                          Working...
                          X