LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-08-2004, 04:17 AM   #1
apt
Member
 
Registered: Dec 2004
Posts: 34

Rep: Reputation: 15
Apache access problem


if i want to host virtual site other than /var/www/html/ [ eg :- /home/apt/Working/PHPSource/]
i am getting this error.

You don't have permission to access / on this server.

I checked with the permission of these folders
drwxr-xr-x 16 apt apt home
drwx------ 16 apt apt apt
drwxrwxrwx 16 apt apt Working
drwxrwxrwx 16 apt apt PHPSource

and found that apt folder dont have read permisson for others
And i cant change apt folder permission as i dont have rights to change it.

here is my virtual host conf file part..
Code:
NameVirtualHost apt:7070  
<VirtualHost apt:7070>          
ServerName apt:7070          
DocumentRoot /home/apt/Working/PHPSource          
DirectoryIndex index.html           
ScriptAlias /php/ "/usr/bin/"          
AddType application/x-httpd-php .php          
<Directory "/home/apt/Working/PHPSource">                  
Options FollowSymLinks                  
AllowOverride None                  
Order allow,deny                  
Allow from all                  
Satisfy any         
 </Directory>  
</VirtualHost>
Is there any other solution other than changing apt directory permission inorder to get solution to this problem.

Last edited by apt; 12-08-2004 at 08:24 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem With Apache Access Comatose51 Linux - General 1 05-27-2005 03:08 PM
Apache, virtual host, access problem ivanatora Linux - Software 2 04-05-2005 04:39 AM
premission access problem in apache . appas Linux - Software 5 10-22-2004 10:34 AM
Apache ip access pazvant Linux - General 4 02-01-2004 10:57 AM
apache access log mindcry Linux - Security 6 02-12-2003 12:17 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration