Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Dedicated Servers Dedicated server help.

Lionsanime Directory   High Bandwidth Dedicated Servers   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 08-14-2007, 07:48 AM   #1 (permalink)
Inactive
 
Join Date: 08-14-07
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

gururmk is liked by many
301 Redirect-Apache server

Hai,

We are using Jboss server and Apache Httpserver. I deployed my application in Jboss server but accessing it via Apache server using URL-Rewriting.

We are working on optimizing our web site for Search Engines to rank it higher during searches

We access our application using its domain name viz. "www.apps.com" and internally redirect it to "www.apps.com/login.do", SEO suggests that we avoid login.do in the end to improve the ranking of our site. To avoid login.do we defined a 301 re-direct rule in our httpd.conf file to redirect www.apps.com/login.do to www.apps.com but it gets into an indefinite loop as Apache and JBoss seem to have a tug-of-war w.r.t the context root as Apache defaults to "/" (i.e. port 80), it works only if :8080 is appended to the url i.e. www.apps.com:8080

Is it possible to have Apache and Jboss share the contect root and make both work?

Thank You
gururmk is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 09-01-2007, 11:49 AM   #2 (permalink)
Moderator
 
ToddW's Avatar
 
Join Date: 01-11-04
Location: Folsom
Posts: 2,645
iTrader: 0 / 0%
ToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest order
Send a message via AIM to ToddW
Why not put the 301 in .htaccess for that site?
__________________
Learn about Bear Grylls, Les Stroud, Man Vs. Wild & SurvivorMan at Survival TV Shows
Order Exciting Inspirational Posters from Inspirational Posters at great value.
ToddW is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
301 redirect gives 500 server error seonewbee Coding Forum 1 09-18-2004 09:11 AM
Small Apache redirect problem waqqas31 Dedicated Servers 4 05-31-2004 05:41 PM
apache web server cheryh Dedicated Servers 0 02-19-2004 10:07 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 09:54 PM.
© Copyright 2008 V7 Inc