Solved

web CMS on hosting service folder permissions

Posted on 2009-03-31
2
204 Views
Last Modified: 2013-12-14
Hi....
I'm trying to run a Joomla installation on a hosted server.
The root folder will never have read/write permissions.
This requires me to install it in a subfolder which I do have full control of.

The problem lies with a single line php redirect.
it redirects fine, but then puts the subfolder in the address bar, which I don't want.

so, if someone types http://www.cutlerplace.com
the redirect puts out http://www.cutlerplace.com/joomla

how do I stop that?
Thanks
0
Comment
Question by:Evan Cutler
2 Comments
 
LVL 14

Accepted Solution

by:
shobinsun earned 500 total points
ID: 24036394
Hello,

You can do it with .htaccess redirect method.

Using .htaccess for Redirection:

When using the Apache web server, directory-specific .htaccess files (as well as apache's main configuration files) can be used. For example, to redirect a single page:

Redirect 301 /oldpage.html http://www.example.com/newpage.html

To change domain names:

RewriteEngine On
 
RewriteCond %{HTTP_HOST} ^.*oldwebsite\.com$ [NC]
RewriteRule ^(.*)$ http://www.preferredwebsite.net/$1 [R=301,L]


http://en.wikipedia.org/wiki/URL_redirection

http://corz.org/serv/tricks/htaccess2.php


You can also do it:

create a sub domain in your domain and paste all the contents from joomla there.

Then go the sub domain .

Regards.
0
 
LVL 9

Author Closing Comment

by:Evan Cutler
ID: 31565182
It's a windows-based server.
of your solutions...the only one that appears to work is the subdomain solution.

Thanks much :)
Evan
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question