By comterkumar on
Hi friends
I have hosted my web site in a Debian web server
The issue I am facing is regarding CLEAN URL
The sever is not supporting .htaccess file
When I put , the website will show Internal server error
When I remove .htaccess file , site is working
Since there is more than 100 website running in the same server , I am not given privilege to modify the httpd.conf file
Please help me how can I Enable clean URL in my website
I am in great confusion
Since I am a user only I can't change any configuration file
Is there any way I can use website specific settings , what will affect to my website only
Thanks in advance
Kumar
Comments
.
If that server really doesn't allow .htaccess files, then there is no way, except if you ask them and they make an exception for you.
It is possible that they do allow .htaccess files but they don't allow some specific lines that your .htaccess file contains.
Try to comment out the two "Options" lines.
Or even all the lines before the
<IfModule mod_rewrite.c>section (which is necessary for clean URLs).Hi cog.rusty I have one more
Hi cog.rusty
I have one more issue
When ever I upload a document or image , .htaccess file is created in /sites/default/files folder
So the uploaded images and documents not able to access
When I access these images and documents , I gets Internal server error
This is because of my web server is not supporting .htaccess file
So my question is , is there any way , we can set so that .htaccess file will not be created on uploading an image or document ?
Please help me
I am in a very difficult situation now
Kumar
.
Instead of deleting that .htaccess file, edit it and remove the two "Options" lines, leaving only the first line. Usually that works.
where I should change "remove the two "Options" lines " ??
Hi
I could not understand
where I should do this --- "remove the two "Options" lines " ??
in /sites/default/files/.htaccess?
each time I am uploading a document or image , .htaccess is being created
So it will overwrite the .htaccess file on uploading a document or image
Kumar
.
Yes, in that one. It won't overwrite it if it exists.
So, don't delete it. Edit it and remove the Options lines, and leave only the first line.
If this is not enough, delete that one too (but then it won't protect you from running uploaded php scripts).
Thanks
Thanks a lot
It really works
Kumar