April 20, 2024, 10:45:28 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Error 403 with Apache  (Read 5044 times)

Offline sothy

  • Linux Learner
  • ***
  • Posts: 84
Error 403 with Apache
« 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

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
when URL is wrong
« Reply #1 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

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Error 403 with Apache
« Reply #2 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

Offline sothy

  • Linux Learner
  • ***
  • Posts: 84
Thank You For Your Reply Back !
« Reply #3 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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Error 403 with Apache
« Reply #4 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.

Offline sothy

  • Linux Learner
  • ***
  • Posts: 84
Thank You For Your Reply Back
« Reply #5 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