|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
.htaccess permission denied
I am using an apache server which i dont have the root access.
I opened a file in the /usr/local/www/htdocs/.htaccess with pico editor I made my changes and want to save but below error appears. "Cannot open file for writing: Permission denied" What is the problem? am i not authorised to change the .htaccess file? |
|
#2
|
|||
|
|||
|
>> What is the problem?
You need root access. >> a file in the /usr/local/www/htdocs/.htaccess Who installed this Apache server and who placed the .htaccess file there? It's plain dumb to use .htaccess for default domain for such purpose. You or whoever in charge should put the content in such .htaccess to httpd.conf. Keep in mind, any directive that is acceptable in .htaccess is also acceptable in httpd.conf. It's a waste of system resource to put .htaccess there. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > .htaccess permission denied |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|