Welcome Guest, Not a member yet? Register   Sign In
url rewriting with plesk server [resolved]
#1

[eluser]theo_france[/eluser]
Hi all,

I'm using CI 1.7.2 on plesk with a centos 5.2 server.
I'd try to use the url rewriting but it doesn't work at all.

I've deleted, as described the "index.php" from the config file but no result.

Where we must insert the .htaccess file?
The root /
or the application folder.

Thank you for your help.
#2

[eluser]jedd[/eluser]
Hi theo_france,

Read [url="http://codeigniter.com/wiki/How_to_ask_a_good_question/"]this page[/url].

Quote:I'd try to use the url rewriting but it doesn't work at all.

Do you honestly think the description 'doesn't work at all' is sufficient for even the nerdiest of us to resolve the problem?

Quote:I've deleted, as described the "index.php" from the config file but no result.

Described where?

Quote:Where we must insert the .htaccess file?

What is the .htaccess that you are using?

What is the web server name and version that you are using?

What do the web server logs show you?
#3

[eluser]theo_france[/eluser]
I was sure i could a such helpful guy like you ... Thank you very much for your help. I'll give to the others fulls codes. I'm back soon .
#4

[eluser]theo_france[/eluser]
So,
i'd try this : .htaccess that i've put in the httpdoc of my website.

I don't have try yet to see if apache accept htaccess .
I've got one question : my website is password protected for the plesk interface. I'd try to create an .htaccess in the root on my website with no result. I think, it was a 500 error.
I'd like to know if the fact that i can anyway a password protected folder means that my server accept .htaccess rules?

I'll have a look in my plesk documentation. Sorry didn't done yet Wink

Is it better as description now?

My server in working on cento 5.2, and plesk is 9.2.1.

Thank you for your help.
#5

[eluser]jedd[/eluser]
[quote author="theo_france" date="1258843645"]
I've got one question : my website is password protected for the plesk interface. I'd try to create an .htaccess in the root on my website with no result. I think, it was a 500 error.
I'd like to know if the fact that i can anyway a password protected folder means that my server accept .htaccess rules?
[/quote]

Ahh, plesk is hosting software? I had to go to google to find out what you were talking about.

How did you try to create an .htaccess in the web root? What is the web root of this system? Can you create other files there? Do you have SSH access to the box or only a web GUI? 500 error is a web browser error, not a file creation error.

Password protection - if it uses .htaccess - means your new .htaccess needs to include both the password commands as well as the rewrite commands.

Plesk documentation should be the first place you consult.
#6

[eluser]theo_france[/eluser]
Hi Jedd and thanks for the help .

I'm actullay modifying mt http.conf file in SSH mode.
I've passing Allowoveride to ALL link to httpd.conf
This command allow the use of .htaccess files. (i've just read it in the forum).
So next, i'll try to use .htaccess file.

I'm back in few minutes to tell you if it works.
I'll ahve a look a the plesk doc too.
Thanks
#7

[eluser]theo_france[/eluser]
It's ok now.

In fact i had to change the allowoverride property in the httpd.cong file.


Thank you for the guys who really tried to help me !




Theme © iAndrew 2016 - Forum software by © MyBB