Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-03-20 16:45:53
- hedning
- Member
- Registered: 2006-03-20
- Posts: 12
no access during installation
Now this is strange and I am not a newbie with cms installation: copied files to the server via ftp, set up a database, went to the browser to start the index.php in the textpattern folder as stated in the help everywhere: what I get is an: “Forbidden, You don’t have permission to access /textpattern/textpattern/ on this server.” Checked the rights, looks fine to me?? Feeling completely incompetent but I just don`t get it. Can you help?
Last edited by hedning (2006-03-20 17:29:21)
Offline
Re: no access during installation
Hi hedning,
i’m not totally sure about this, but try renaming your parent folder with a different name.
I mean, dont name “textpattern” the folder where you install TXP.
Try with other name: txp, test, whatever you want.
edit: and welcome! have fun!
Last edited by maniqui (2006-03-20 17:28:01)
Offline
#3 2006-03-20 17:29:43
- hedning
- Member
- Registered: 2006-03-20
- Posts: 12
Re: no access during installation
Thanks! I tried it deleting the htaccess and all works. Question: Why do I need htaccess? What problems will I have without it?
Offline
Re: no access during installation
.htaccess is needed if you want to use clean URLs.
Some info on clean URLs:
Clean URLs
Managing Clean URLs
Where can I download .htacccess
So, if you plan to use them, i suggest you to try renaming the folder parent /textpattern/ (and not the /textpattern/ folder that comes with TXP) as I said.
Offline
#5 2006-03-20 19:32:15
- hedning
- Member
- Registered: 2006-03-20
- Posts: 12
Re: no access during installation
Ok: did that. Renamed the first textpattern folder to txp but it didn`t fix the problem. I did the installation now without the htaccess and all worked fine but then I installed the White and Wild theme and that seems to work with clean urls like: http://test.wexelwirken.net/txp/article/1/first-post (that is a clean url, isn`t it?). I copied the htaccess back after changing the folder name to txp AND NOW I get messages like: “Not Found. The requested URL /txp/article/1/first-post was not found on this server.
Can you help me any further, please?
Offline
Re: no access during installation
You should rename a folder after installing.
Check your config.php and correct the path to your /textpattern/ folder
$txpcfg['txpath'] = '/full/path/to/textpattern';
Also, after fixing that, check in Admin -> Diagnostics if there is any message in red.
Also, if you want, post your diagnostics here.
Offline
#7 2006-03-20 20:16:25
- KurtRaschke
- Plugin Author
- Registered: 2004-05-16
- Posts: 275
Re: no access during installation
kurt@kurtraschke.com
Offline
#8 2006-03-21 10:01:26
- hedning
- Member
- Registered: 2006-03-20
- Posts: 12
Re: no access during installation
This is my diagnostics file:
Version Textpattern: 4.0.3 (r1188)
last_update: 2006-03-20 17:26:01/2006-03-20 16:36:49
Absoluter Pfad der Seite: /var/www/kunden/web0/html/test
$path_to_site: /var/www/kunden/web0/html/test/txp
Pfad Textpattern: /var/www/kunden/web0/html/test/txp/textpattern
Schema der URLs: section_id_title
open_basedir: /var/www/kunden/web0/html/:/var/www/kunden/web0/phptmp/:/var/www/kunden/web0/files/:/var/www/kunden/web0/atd/
upload_tmp_dir: /var/www/kunden/web0/phptmp/
Temporäres Verzeichnis: /var/www/kunden/web0/html/test/txp/images
Seiten-URL: test.wexelwirken.net/txp
PHP-Version: 4.3.10-16
server_time: 2006-03-21 10:57:36
MySQL: 4.0.24_Debian-10sarge1-log
Regionale Einstellungen: C
Server: Apache/1.3.33 (Debian GNU/Linux) mod_python/2.7.10 Python/2.3.4 PHP/4.3.10-16 mod_ssl/2.8.22 OpenSSL/0.9.7e mod_perl/1.29
Apache-Version: Apache/1.3.33 (Debian GNU/Linux) mod_python/2.7.10 Python/2.3.4 PHP/4.3.10-16 mod_ssl/2.8.22 OpenSSL/0.9.7e mod_perl/1.29
php_sapi_mode: apache
os_version: Linux 2.6.8-2-k7
Voruntersuchung:
————————————
.htaccess-Datei fehlt
————————————
This is my .htaccess:
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php </IfModule>#php_value register_globals 0
How do I do the RewriteBase?
Thanks!
Offline
#9 2006-03-21 16:35:49
- lornajane
- New Member
- Registered: 2006-03-18
- Posts: 5
Re: no access during installation
in your .htaccess, there’s a line which says:
#RewriteBase /relative/web/path/
you need to change this to be where your textpattern files are in relation to your web root.
Let’s say that you use www.website.com/mywebsite to access your textpattern site. Then you should set the line to read:
#RewriteBase /mywebsite/
If you are still having problems, try looking at the logs tab in the textpattern admin tool – you can see what it thought was being requested which can help to diagnose the fault.
HTH
Last edited by lornajane (2006-03-21 16:36:53)
Offline
#10 2006-03-21 16:41:47
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: no access during installation
lornajane wrote:
Let’s say that you use www.website.com/mywebsite to access your textpattern site. Then you should set the line to read:
#RewriteBase /mywebsite/
You also have to uncomment it (remove the #).
Last edited by els (2006-03-21 16:42:04)
Offline
#11 2006-03-21 19:27:30
- hedning
- Member
- Registered: 2006-03-20
- Posts: 12
Re: no access during installation
Did that but it didn`t work?
Offline
#12 2006-03-21 22:08:19
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: no access during installation
I think you don’t even need the RewriteBase, I’m running a couple of sites in subdomains and I don’t have it in my .htaccess.
What do you have for site URL in Site preferences? It should be yourdomain.com/test/txp.
Offline