My homepage is now properly set up on the apace2 on my eTrayz.
This is how i configured the hole thing:
1. First I made a simple webpage on eTrayz WWW area I called it /home/sysadmin/WWW/jacques with index.html as fist page
2. Logged on the eTrayz with SSH as root like : ssh root@[ip], I used a Virutal Box wtha Ubuntu configuration.
3. Next, edited the file 00_default_etrayz.conf in /etc/apace2/ined.d/
I added "Listen 80" under Listen 800 in file and added "NameVirtualHost *:80" under the 800
And under The VitualHost I added my on like this:
.
.
</VirtualHost>
<VirtualHost *:80>
ServerName www.jacques.se
ServerAdmin root@localhost
DocumentRoot "/home/sysadmin/WWW/jacques"
<Directory "/home/sysadmin/WWW/jacques">
Options Indexes FollowSymLinks
AllowOverride All
Options +ExecCGI
AddHandler cgi-script .cgi .pl
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
4 Then I restarted the Apace with /etc/init.d/apache restart
And that was that, my web-server is working perfectly, o just one thing, I had missed to open port 80 on my firewall. So don't you forget that too, it took some time before I remembered that I'm behind a firewall.
Hi Jacques,
ReplyDeleteis there any other way to have a webpage in eTrayz using normal html by means of a program like Dreamweaver? I mean, without having to edit apache or whatever. Thanks