I have located /var/www/html/ and have put a simple site there. The apache server is running and my router redirects port 80 to the HDA.
When I enter my external IP adress in a browser, the Amahi login screen is presented. I've tried to put my site in a subfolder, let's call it 2, but when I do a http://xx.xx.xx.xxx/2/ in my browser, I am still presented with the Amahi login screen.
What folder is the Amahi server using?
Small update: I have logged in at webmin, went to the apache server and created a virtual server on port 90. I've forwarded that port to the HDA and used the /var/www/html folder as root. No succes. Then I tried /svr/www/public_html with port 90 and still no succes.
How to use the built in webserver?
Re: How to use the built in webserver?
To use as a web server, you need to create a web app. If you have advanced settings on, you will see the web app link in applications tab.
Put your files in the /var/hda/web-apps/appname where appname is the name you used when creating the web app.
Amahi does not use the /var/www/html directory as most servers do for serving web pages. It used the web-apps directory.
Put your files in the /var/hda/web-apps/appname where appname is the name you used when creating the web app.
Amahi does not use the /var/www/html directory as most servers do for serving web pages. It used the web-apps directory.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: How to use the built in webserver?
Ha, it's you and me again! Great. I've created a webapp and it works by clicking the http://website link I've created by doing that. But what is the external adress for the site?
Re: How to use the built in webserver?
Follow the guidance in the wiki for exposing apps outside the network. Basically you will add:
ServerAlias username.yourhda.com
to your web app .conf file located in /etc/httpd/conf.d directory.
ServerAlias username.yourhda.com
to your web app .conf file located in /etc/httpd/conf.d directory.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: How to use the built in webserver?
It worked!
Re: How to use the built in webserver?
Of course it did LOL
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: How to use the built in webserver?
yeah, great help!
-
- Posts: 5
- Joined: Tue Jan 07, 2014 10:23 am
Re: How to use the built in webserver?
Okay, even though 7.1 makes the creation of a web-app a real pain, I got it going and now when I use an external dyndns type address I do indeed see the website. Now, I would like to use joomla or drupal to edit the website at /var/hds/web-apps/website/html. How do I link these tools to the website? Ideally there would be a "publish" type menu item in the joomla or drupal system, but a hard link would also be acceptable. It just seems like drupal and joomla in their present form are pretty much useless.
Re: How to use the built in webserver?
Same wiki reference to host apps. If you are wanting to put links on your website page, that may be a bit more complicated.
For something of that nature, you may need to search the internet. There should be plenty of guidance on how to do it.
For something of that nature, you may need to search the internet. There should be plenty of guidance on how to do it.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 3 guests