Solved

web CMS on hosting service folder permissions

Posted on 2009-03-31
2
199 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to count occurrences of each item in an array.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now