how do i get one index.html file to open another one ?
eg
I have on index.html file in the root directory but actinic dumps the website in a seperate folder
actinic > index.html
how do i get one index.html file to open another one ?
eg
I have on index.html file in the root directory but actinic dumps the website in a seperate folder
actinic > index.html
put the Actinic in site into a folder and call the front page of that index.html
Use the link “/actinic” rather than http:// etc etc
Filesystem should look like this
root
/actinic
/index.html
with actinics like
actinic
/index.html
I have the same on my site…
drezha.homelinux.net and clicking the folding link takes you to drezha.homelinux.net/folding
If I’m not missing something, stick a line in the head section of the root index.html, should cause browser to jump to the new link.
<meta http-equiv="refresh" content="0;url=http://whatever/actinic/index.html">
Alternatively is there no way to either reconfigure actinic to stick the files elsewhere, or set the web root of the web server to point to the subdirectory already. That would assume actinic isn’t hard coded to expect to be in its own specific location.
[QUOTE=mackerel;406081]If I’m not missing something, stick a line in the head section of the root index.html, should cause browser to jump to the new link.
<meta http-equiv="refresh" content="0;url=http://whatever/actinic/index.html">
Alternatively is there no way to either reconfigure actinic to stick the files elsewhere, or set the web root of the web server to point to the subdirectory already. That would assume actinic isn’t hard coded to expect to be in its own specific location.[/QUOTE]
I cant see a way of changing it and its not through lack of looking , my webhost uses plesk and I already have a large collection of nested folders.
I cannot create directories on the root , only in folders that already exsist
cgi-bin
httpdocs
httpsdocs
ect
already caused major grief with paths…
Isn’t the contents of httpdocs the root of the site, containing the top level index.html which is the one you want to have the redirection included? Rest of site goes below that.
Hmm easy fix…name the second index file index.htm and point the index.html to it.
html will always load first before any index.htm
httpdocs is a folder on the root
acatalog is a folder in the httpdocs folder
I’d use makerels suggestion, that’s how I ever make a browser redirect, there are other ways using scripts and stuff, but using the tag that is there for that reason seems the correct thing to do
DT.
[QUOTE=DoubleTop;406089]I’d use makerels suggestion, that’s how I ever make a browser redirect, there are other ways using scripts and stuff, but using the tag that is there for that reason seems the correct thing to do
DT.[/QUOTE]
doesnt like it for some reason
edit cheers , i forgot the browser wouldnt see the httpdocs bit <<doh>>
now allI have to do is design the bloody thing using a new webdesign package that does stock control :o
From when I was on a webserver I didn’t run, I had to put all docs inside httpdocs. Basically the root had nothing of interest to me so my “root” was httpdocs.
Any index.html in that got served out first then whatever you create inside that was what came from searching.
I’m guessing I was teaching you to suck eggs in my first post, which if I was, I apologise.
[QUOTE=drezha;406092]
I’m guessing I was teaching you to suck eggs in my first post, which if I was, I apologise.[/QUOTE]
no need to appologise for anything , if you didnt get what i was saying it was becuase i was doing a piss poor job of explaining it