Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux Software => Linux Installation Support => Topic started by: sothy on October 17, 2005, 07:44:50 AM

Title: Error 403 with Apache
Post by: sothy on October 17, 2005, 07:44:50 AM
Dear every body i have install apache on suse 9.1 but it dose't work and when i access to web http://locallhost it show error message 403 so can you tell me what the matter with my install ..................


thank you for you time
Title: when URL is wrong
Post by: deven_01 on October 17, 2005, 10:32:44 AM
Dear
 the error b'coz URL is wrong
 type http://localhost/ but not http://locallhost/
 Regards,
 Linux User
Title: Error 403 with Apache
Post by: gauravbajaj on October 17, 2005, 12:18:30 PM
ok

For that u have to change  some options in httpd.conf file .. i.e suppose u have set doc root to /srv/www/htdocs(which is default), and u want to  run myfile.php from browser ..then just add these lines in ur httpd.conf or

i.e

<Directory /srv/www/htdocs/myfile.php>
    Options None (Change this line  to Options All)
    AllowOverride None
    Order allow,deny
    Deny   from all (Change this line to Allow from all)
</Directory>

That is , after making changes it looks like something this

<Directory /srv/www/htdocs/myfile.php>
    Options All
    AllowOverride None
    Order allow,deny
    Allow   from all
</Directory>

just restart ur apache service as
#rcapache2 restart

After that it will definitly work

Cheers:

Gaurav
Title: Thank You For Your Reply Back !
Post by: sothy on October 18, 2005, 03:24:58 AM
Dear Sir

i will do it and one thing i have some problem about transparent proxy and now day my proxy it working fine on SuSe but when i want to use transparent it can't not so can you tell me the way for do it ? but i want to tell about my problem is : i can't use scripts for run transparent proxy ...........


Best Regard
Title: Error 403 with Apache
Post by: Ricky on October 21, 2005, 06:55:39 PM
sothy, i think the problem about your suse and proxy is being discussed at other thread so please don't go offtopoic in this thread.
Title: Thank You For Your Reply Back
Post by: sothy on November 09, 2005, 10:25:02 AM
Thank You Ricky

i have done apache it working fine i think i all way have alot fault ......

but i will try to learn more ....


Best Regard

sothy