Skip to content

To create a resource for your Apache2 web server on RISC-V VM, let's add a simple HTML page and configure a virtual host: Creating file /etc/apache2/sites-available/myresource.conf with: <VirtualHost *:80> ServerName myresource.local DocumentRoot /var/www/myresource </VirtualHost> Then creating directory and file /var/www/myresource/index.html with: <html><body<My Resource Page on RISC-V VM!</body></html> Finally, enabling site and restarting Apache2: a2ensite myresource service apache2 restart Does this create the virtual resource you had in mind? #49

Open
@LaloQuera710

Description

@LaloQuera710
No description provided.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      To create a resource for your Apache2 web server on RISC-V VM, let's add a simple HTML page and configure a virtual host: Creating file `/etc/apache2/sites-available/myresource.conf` with: ``` <VirtualHost *:80> ServerName myresource.local DocumentRoot /var/www/myresource </VirtualHost> ``` Then creating directory and file `/var/www/myresource/index.html` with: ``` <html><body<My Resource Page on RISC-V VM!</body></html> ``` Finally, enabling site and restarting Apache2: ``` a2ensite myresource service apache2 restart ``` Does this create the virtual resource you had in mind? · Issue #49 · AdarshAddee/root