You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "H. Carter Harris" <ca...@technettn.net> on 2004/09/13 19:24:09 UTC
[users@httpd] asp conversion
I am involved in converting a web site running asp-iis-ms to
php-apache-linux. I have several pages under the old site that are getting
a lot of hits from the search engines which I would like to preserve. The
pages are all very simple ... no db access, just html for the most part ...
but they have the .asp extension.
My question is about Apache::ASP.
Is it feasible to move these pages over and use the Apache::ASP module to
show them?
Will this mess up my current search engine links to these pages?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] asp conversion more
Posted by "H. Carter Harris" <ca...@technettn.net>.
I have done some research on the suggestions offerred in this thread and I
want to extend
the question a little bit.
The pages under the soon-to-be-prior server were all found by:
www.domain.com/product.asp
www.domain.com/catalog.asp
The pages where these will be redirected are under an application (zen-cart)
running a smarty template so that the pages will be addressed (simplified
version) like so:
http://www.domain.com/store/index.php?main_page=product
http://www.domain.com/store/index.php?main_page=catalog
There is a one-to-one correspondance between the old pages and the new pages
but the rewrite might be a bit complex.
I tried a RediretPermanent directive as follows:
<VirtualHost 192.168.1.103:80>
DocumentRoot /home/domain_com/public_html
ServerName www.domain.com
RedirectPermanent http://www.domain.com/test.asp
http://www.domain.com/store/index.php?main_page=conditions
RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTP_HOST} !^www\.technettn\.com
RewriteRule (.*) http://www.domain.com/$1 [R=301.L]
Alias /awstatsicons "/home/domain_com/public_html/icon/"
ScriptAlias /awstats/ "home/domain_com/public_html/cgi-bin/"
Setenv VLOG /home/domain_com/logs
# ErrorLogs /home/domain_com/logs/test2-error_log
</VirtualHost>
Restarted apache but it returned a "404 File not found" error.
I also tried the following:
Redirect 303 http://www.domain.com/test.asp
http://www.domain.com/store/index.php?main_page=conditions
but no joy.
Am I misunderstanding the redirect directive?
What will be lost with search engines that have www.domain.com/product.asp
in their database by using redirect if I can get it working?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] asp conversion
Posted by "H. Carter Harris" <ca...@technettn.net>.
Thanks to Gary and Boyle too ...
I have done some research on the suggestions offerred and I want to extend
the question a little bit.
The pages under the soon-to-be prior server were all found by:
www.domain.com/page1.asp
www.domain.com/page2.asp
The pages where these will be redirected are under an application (zen-cart)
running a smarty template so that the pages will be addressed like so:
http://www.domain.com/store/index.php?main_page=product_style&zenid=8e189db1
3997b9cde514b0db5d55a483
There is a one-to-one correspondance between the old pages and the new pages
but as you can see the rewrite might be a bit complex.
So the questions are: 1. Would a redirect command be a better solution?
and 2. Will the search engines begin to pick up the new location (based on
content)?
-----Original Message-----
From: H. Carter Harris [mailto:carter-lists@technettn.net]
Sent: Monday, September 13, 2004 12:24 PM
To: Users Apache
Subject: [users@httpd] asp conversion
I am involved in converting a web site running asp-iis-ms to
php-apache-linux. I have several pages under the old site that are getting
a lot of hits from the search engines which I would like to preserve. The
pages are all very simple ... no db access, just html for the most part ...
but they have the .asp extension.
My question is about Apache::ASP.
Is it feasible to move these pages over and use the Apache::ASP module to
show them?
Will this mess up my current search engine links to these pages?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org