TurnKey Linux Virtual Appliance Library

Drupal takes over - how to add and show additional web pages ?

Hi,

 

I've just installed Drupal6 appliance and now I'm trying to add also some other web pages in separate directories under /var/www, for instance /var/www/visu

but when I enter http://ipofappliance/visu/  into browser, then I get page not found error reported by Drupal....

How can I achieve normal behaviour on non-drupal URLs ?

 

Thanks in advance,

regards,

Bulek.

Jeremy's picture

You need to add an additional site

You can see what is currently setup in the sites-enabled directory (etc/apache2/sites-enabled IIRC) then create a new site in the sites-available dir (/etc/apache2/sites-available IIRC) - I'd recommend copying one that's there already and use that as a template. Then enable your site (there's a command you'll find if you google, although AFAIK simply creating a symlink will have the same effect).

All this can be done with Webmin too, which is probably easier if you're not familiar with Apache

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)