Hi,

I have one server running in the bitnami cloud (Ubuntu Linux 10.04 LTS 32bits ) and have been messing around with a drupal and a sugarcrm installation. They work perfectly fine, it seems.

I'm trying to figure out how to upload my own custom php application and get it running. Drupal and sugarcrm are installed in the directories:

  • /opt/bitnami/apps/drupal/htdocs
  • /opt/bitnami/apps/sugarcrm/htdocs

So, I created new folders for my application myapp:

  • /opt/bitnami/apps/myapp
  • /opt/bitnami/apps/myapp/htdocs

The first problem I had was actually creating these, but figured out it was a permissions issue.

Ok, so now I have the folder created, I upload a basic index.html file to the .../myapp/htdocs folder, thinking I would be able to access it via **http://myid.bitnamiapp.com/myapp**. However, the browser returns the message:

The requested URL /scheduler/ was not found on this server.

I've been messing around with this for a while and have gone through this migration howto, but to no avail.

Note that I have restarted the server. Do I need to create a .htaccess file or is it something else?

(Sorry if this is a newbie question...I have searched around for a solution but wasn't getting anywhere)

Thanks,

David


Update I got it working. So, here's what I did:

Created a folder /opt/bitnami/apps/myapp/conf

In this I placed a file called myapp.conf which contains the following:


    Alias /drupal/ "/opt/bitnami/apps/myapp/htdocs/"
    Alias /drupal "/opt/bitnami/apps/myapp/htdocs"

<Directory "/opt/bitnami/apps/myapp/htdocs">
    Options Indexes MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

This is just an amended copy of the configuration file automatically placed in a drupal install.

To the end of /opt/bitnami/apps/apache2/conf/httpd.conf I added the following line:


Include "/opt/bitnami/apps/myapp/conf/myapp.conf"

I'll have to read up a bit more on apache!!

asked 07 Oct '11, 11:04

davbre87's gravatar image

davbre87
51115
accept rate: 0%

edited 07 Oct '11, 13:11

Thanks!! Helped much!

(22 Nov '11, 22:21) eternalko

Bitnami Cloud users maybe the following posting with step by step instructions can help you to install and configure an application on Bitnami Cloud hosting:

http://answers.bitnami.org/questions/4588/how-to-install-a-second-special-drupal-non-bitnami-application-distribution-tattler-on-bitnami-cloud-tutorial

(10 May '12, 04:10) WebKingAmste...

Thanks for posting the solution. This will help to other bitnami users.

link

answered 08 Oct '11, 11:45

Beltran%20Rueda's gravatar image

Beltran Rueda ♦♦
11.1k81550
accept rate: 25%

Bitnami Cloud users maybe the following posting on this Wiki with step by step instructions can help you to install and configure an application on Bitnami Cloud hosting:

http://answers.bitnami.org/questions/4588/how-to-install-a-second-special-drupal-non-bitnami-application-distribution-tattler-on-bitnami-cloud-tutorial

link

answered 10 May '12, 04:14

WebKingAmsterdam's gravatar image

WebKingAmste...
110101116
accept rate: 16%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×9
×8

Asked: 07 Oct '11, 11:04

Seen: 2,381 times

Last updated: 10 May '12, 04:14

powered by BitNami OSQA