Posted by bottticelli in I2P
Sup, Ramble. I began to develop my eepsite (something simple and static like blog page, say). For this purpose I had found the index.html
file in the directory .../i2p/i2p-config/eepsite/docroot
, then I deleted the first three lines that force user to see the helping document about I2P Anonymous Webserving etc. I played around a little more with this file, edited its contents, and happily saw them change on the web. After that I saved my changes (locally on my machine), stopped i2prouter and went out.
As long as I was back, starting i2prouter and my eepsite, I saw the very same default helping article instead of my webpage under construction with added contents. What is more interesting, my .../docroot/help
dir has no file with such contents anymore, since I have changed the index.html inside this dir too! But I2P Router Console keeps transferring me to the damned helping page on http://127.0.0.1:7658/help
, to where I am bounced from http://127.0.0.1:7658/
.
Why does the console not see the changes in index.html
files? Before reconecting to the router I clearly remember editing and saving the changes in both files, and both of them were reflected on the web properly. Neither PC reboot nor i2prouter restart were of help. I wonder where does it take this helping file from? My directories have no file with such contents (not anymore, since I edited them deliberately)... How can I make my webpage displaying the actual index.html contents? Please help, any advice would be greatly appreciated!
z3d wrote (edited )
Don't edit the eepsite files in your application directory, they serve as a template which is copied to your configuration directory when you first run I2P. Instead you need to edit the files in your configuration directory.
Since you still have the default help files displaying on your site, read the information there relating to the location of the eepsite folder and edit the contents in the location indicated, which varies depending on what operating system you're running I2P on. Once you've edited index.html in eepsite/docroot you may need to clear your browser's cache to see the changes.