Tomcat index page (newbie question)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2014 12:36 AM
ok, so I've setup my Alfresco Community 3.4d, 32 bit site correctly and have everything perfectly configured. Now i'm trying to change the Tomcat, ("It works! This is the default web page for this server. The web server software is running but no content has been added, yet.") default page.
-AND apparently it's not entitled "index.html" ..ugh, so where is it at? what folder? I just want to insert a intro page with a link back to Alfresco's login page. OH and i did find one page entitled 'index.html' but that is not the one that comes up on my homeserver page before i add the ":8080/alfresco"
am i looking in the wrong folder, and simply haven't found it yet, or do i have to change a line of code to forward to one of index pages and THEN update THAT page with my own graphics page? just wondering;
-thanks in advance.
-AND apparently it's not entitled "index.html" ..ugh, so where is it at? what folder? I just want to insert a intro page with a link back to Alfresco's login page. OH and i did find one page entitled 'index.html' but that is not the one that comes up on my homeserver page before i add the ":8080/alfresco"
am i looking in the wrong folder, and simply haven't found it yet, or do i have to change a line of code to forward to one of index pages and THEN update THAT page with my own graphics page? just wondering;
-thanks in advance.
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2014 11:05 AM
There are many ways to do this. Really, this is a Tomcat question. It isn't Alfresco-specific. But, to help you out, one way to do this is to go into $TOMCAT_HOME/webapps/ROOT and rename index.jsp to index.jsp.bak. Then, change index.jsp to:
Again, there are many other options for doing a redirect. This is one.
Jeff
<%response.sendRedirect("http://your_domain:8080/share");%>
Again, there are many other options for doing a redirect. This is one.
Jeff

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2014 07:43 PM
Thanks Jeff.
- well the index page in the root directory is entitled "index.html" but when I dial in my server dns name, which is at extention 192.168.1.***; I get a different page that is an index page with this text: "It Works! This is the default web page for this server.The web server software is running but no content has been added, yet."
= all I'd like to do is replace THAT page with a page I designed that basically says welcome to my server. then i'm gonna add a link to the Alfresco login. When I read the page source, Firefox seems to believe that it is an html. Yet, I probably am just not looking deep enough into the folders for that particular html that is popping up. That's all I'm really trying to do. I'm not making any changes to Alfresco. I have everything else perfectly configured so far.
so I've been clicking on every .html I've encountered, and unless I've missed it, it seems to be eluding me, or perhaps that default page isn't actually an html?
- well the index page in the root directory is entitled "index.html" but when I dial in my server dns name, which is at extention 192.168.1.***; I get a different page that is an index page with this text: "It Works! This is the default web page for this server.The web server software is running but no content has been added, yet."
= all I'd like to do is replace THAT page with a page I designed that basically says welcome to my server. then i'm gonna add a link to the Alfresco login. When I read the page source, Firefox seems to believe that it is an html. Yet, I probably am just not looking deep enough into the folders for that particular html that is popping up. That's all I'm really trying to do. I'm not making any changes to Alfresco. I have everything else perfectly configured so far.
so I've been clicking on every .html I've encountered, and unless I've missed it, it seems to be eluding me, or perhaps that default page isn't actually an html?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2014 06:27 AM
ok; so my current update: (several hours later
-Actually after searching through lots of tutorials on Tomcat, the correct question is "how do i make my dns server land on "localhost:8080" ?" THAT is where my graphics page I inserted shows up. i'm gonna add a hyperlink for alfresco as "localhost:8080/alfresco". i just need my domain name i received from a dns provider to stop landing on that elusive Apache "It works!" page. i used to think i was a good tracker until i started wading through tomcat folders hahahaha. should i set out nets?! or perhaps a Bengal Tiger Trap? lol.
-I cannot find that page, so i'm assuming it is NOT an html after all, but something the java scripts are generating?.. at this point, i'm far too intrigued to be frustrated hahaaha.
sooooo, i'm open to all clever suggestions for "netting me a tomcat" (ya i know that was lame- i just ran out of cofee….)

-Actually after searching through lots of tutorials on Tomcat, the correct question is "how do i make my dns server land on "localhost:8080" ?" THAT is where my graphics page I inserted shows up. i'm gonna add a hyperlink for alfresco as "localhost:8080/alfresco". i just need my domain name i received from a dns provider to stop landing on that elusive Apache "It works!" page. i used to think i was a good tracker until i started wading through tomcat folders hahahaha. should i set out nets?! or perhaps a Bengal Tiger Trap? lol.
-I cannot find that page, so i'm assuming it is NOT an html after all, but something the java scripts are generating?.. at this point, i'm far too intrigued to be frustrated hahaaha.
sooooo, i'm open to all clever suggestions for "netting me a tomcat" (ya i know that was lame- i just ran out of cofee….)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2014 08:04 PM
..i have decide to make some clickable desktop icons, that way bypass having to learn Java and have browsers point to the correct addresses with a desktop one click solution. after all an end user just wants to connect to a server and then get to work anyway. so consider this topic "solved"
