I have a webpage up and would like to host a cfg file from a subdirectory.
Lets say at /var/www/tron
I have the file tron.cfg saved in /var/www/
And I also have the correct virtual host files saved in /etc/apache2/sites-available and /etc/apache2/sites-enabled with the lines
Code: Select all
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Code: Select all
ServerName tron.cfg
DocumentRoot /var/www/tron
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/tron>
But when i try and rinclude the file in tron, I get this error:
Code: Select all
[1] Remote admin command by INW@forums: rinclude tron.cfg(server_ip/tron.cfg)
[1] Resource tron.cfg not found in cache. Downloading it, please be patient...
[1] Downloading server_ip/tron.cfg ...
error : Unknown IO error
[1] ERROR: Impossible to reach host of URI server_ip/tron.cfg. This may be caused by a DNS resolving issue, please report to http://forums.armagetronad.net/ if this happens with the main resource repository(http://resource.armagetronad.net/resource/).
[1] Downloading http://resource.armagetronad.net/resource/tron.cfg ...
[1] ERROR: Return value 404 : File not found.
I am very new to this stuff and I am sure I did something wrong.