<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1015661" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1015661</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/403-error#comment-1091004</link>
    <description> &lt;p&gt;Try this:&lt;/p&gt;
&lt;p&gt;Change  to &lt;strong&gt;&lt;/strong&gt; or whatever else you want to call your site. The default port 80 is fine.&lt;/p&gt;
&lt;p&gt;Change /etc/hosts to have a line like this&lt;br /&gt;
&lt;strong&gt;192.168.1.1 xxx.parrabel.com&lt;/strong&gt; (if this is your IP of the machine).&lt;/p&gt;
&lt;p&gt;Kill the apache daemon &lt;strong&gt;kill root process ID&lt;/strong&gt;and restart &lt;strong&gt;httpd -d .../apache directory&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;To get to the site type in:&lt;br /&gt;
&lt;strong&gt;for Linux - lynx xxx.parrabel.com&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;for Windows&lt;/strong&gt; - edit the hosts file so that it has the same &lt;strong&gt;192.168.1.1 xxx.parrabel.com&lt;/strong&gt; . Connect in Windows browser by typing in &lt;strong&gt;http://xxx.parrabel.com&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I use the xxx - prefix so that I can tell if I am on local or the Internet. Usually I build my site and gzip &amp;amp; tar it and upload to my host and inflate.&lt;/p&gt;
&lt;p&gt;It could be the localhost that is screwing things up a bit.&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 Oct 2001 01:21:24 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1091004 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/403-error#comment-1090996</link>
    <description> &lt;p&gt;virtualhosts:&lt;/p&gt;
&lt;p&gt;#  General setup for the virtual host&lt;br /&gt;
DocumentRoot &quot;/home/parrabal/&quot;&lt;/p&gt;
&lt;p&gt;#   SSL Engine Switch:&lt;br /&gt;
#   Enable/Disable SSL for this virtual host.&lt;br /&gt;
SSLEngine off&lt;/p&gt;
&lt;p&gt;#   SSL Cipher Suite:&lt;br /&gt;
#   List the ciphers that the client is permitted to negotiate.&lt;br /&gt;
#   See the mod_ssl documentation for a complete list.&lt;br /&gt;
#SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL&lt;/p&gt;
&lt;p&gt;User apache&lt;br /&gt;
Group apache&lt;br /&gt;
Contents of /home/parrabal:&lt;br /&gt;
index.html help.html links.html and the directory cgi-bin&lt;br /&gt;
Permissions are all 644&lt;br /&gt;
/etc/hosts:&lt;br /&gt;
# Do not remove the following line, or various programs&lt;br /&gt;
# that require network functionality will fail.&lt;br /&gt;
127.0.0.1               localhost.localdomain localhost&lt;br /&gt;
192.168.1.1 other.computer other&lt;br /&gt;
192.168.1.21 otherc.computer otherc&lt;/p&gt;
&lt;p&gt;What I type from the command line:&lt;br /&gt;
lynx localhost&lt;/p&gt;
&lt;p&gt;k?&lt;/p&gt;
 </description>
     <pubDate>Thu, 04 Oct 2001 23:33:33 +0000</pubDate>
 <dc:creator>nike_guy_man</dc:creator>
 <guid isPermaLink="false">comment 1090996 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/403-error#comment-1090956</link>
    <description> &lt;p&gt;Why don&#039;t you either post or email me these:&lt;/p&gt;
&lt;ul class=&quot;bb-list&quot;&gt;
&lt;li&gt;Virtualhosts section of httpd.conf and user, group.&lt;/li&gt;
&lt;li&gt;The contents of your directory that you are trying to access along with permissions.&lt;/li&gt;
&lt;li&gt;Your /etc/hosts file&lt;/li&gt;
&lt;li&gt;What you type in the browser to access this site.&lt;/li&gt;
&lt;/ul&gt;
 </description>
     <pubDate>Thu, 04 Oct 2001 12:30:08 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1090956 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/403-error#comment-1090916</link>
    <description> &lt;p&gt;I did have to reinstall it because I had incorrectly partitioned the drives and I was changing my settings...&lt;br /&gt;
I&#039;ve been very patient with this.&lt;br /&gt;
Error log has nothing other than shutdown and start messages.&lt;br /&gt;
I did chown and chmod everything.&lt;br /&gt;
So confusing... thanks for trying so far...&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Oct 2001 21:59:45 +0000</pubDate>
 <dc:creator>nike_guy_man</dc:creator>
 <guid isPermaLink="false">comment 1090916 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/403-error#comment-1090915</link>
    <description> &lt;p&gt;You don&#039;t always have to re-install Windows/Linux. Just have a little patience.&lt;/p&gt;
&lt;p&gt;It still looks like a permission thing.&lt;/p&gt;
&lt;p&gt;What does your error log say?&lt;/p&gt;
&lt;p&gt;Go ahead and do this:&lt;br /&gt;
&lt;strong&gt;chown -R *apacheuser /home/*DocumentRoot&lt;/strong&gt;&lt;br /&gt;
*Replace apacheuser with the user that is in httpd.conf.&lt;br /&gt;
*Replace DocumentRoot with the directory that is listed for DocumentRoot in Apache.&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Oct 2001 21:56:27 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1090915 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/403-error#comment-1090911</link>
    <description> &lt;p&gt;Well...&lt;br /&gt;
I reformatted my Hard disk to re-install windows and Linux again.&lt;br /&gt;
After getting Windows and RH 7.1 reinstalled, I could access my home directory and files in it, but nothing else.&lt;br /&gt;
For example, I can get &lt;a href=&quot;http://localhost/index.html&quot; class=&quot;bb-url&quot;&gt;http://localhost/index.html&lt;/a&gt; and all other files in the localhost directory, but &lt;a href=&quot;http://localhost/cgi-bin/test.cgi&quot; class=&quot;bb-url&quot;&gt;http://localhost/cgi-bin/test.cgi&lt;/a&gt; will not access.&lt;br /&gt;
Neither will &lt;a href=&quot;http://localhost/backup/index.html&quot; class=&quot;bb-url&quot;&gt;http://localhost/backup/index.html&lt;/a&gt;&lt;br /&gt;
Do I have to do anything with them in httpd.conf?&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Oct 2001 20:02:10 +0000</pubDate>
 <dc:creator>nike_guy_man</dc:creator>
 <guid isPermaLink="false">comment 1090911 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/403-error#comment-1090871</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: &lt;em&gt;Originally posted by nike_guy_man &lt;/em&gt;&lt;br /&gt;
&lt;strong&gt;Already checked all that:&lt;br /&gt;
Yes to virtualhosts.&lt;br /&gt;
From the command line, i type [b]lynx localhost&lt;/strong&gt; or from the windows, I go to the IP of my linux box, i&#039;ve tried the domain I have my IP to forward to, everything. What is WebRoot? Thats not in httpd.conf&lt;br /&gt;
[/B]&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Forget about WebRoot. Is anything mapped in /etc/hosts? If you had something like this:&lt;br /&gt;
&lt;strong&gt;httpd.conf&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;DocumentRoot /home/nikeman/www/&lt;br /&gt;
DirectoryIndex index.html index.php index.cgi&lt;/p&gt;
&lt;p&gt;/etc/hosts (Linux and Windows Machine)&lt;br /&gt;
IP Address   xxx.nikeman.com&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;I would access the server via typing &lt;strong&gt;http://xxx.nikeman.com&lt;/strong&gt; in the browser. If I tried to go to access it by typing the IP address in the browser, it would probably try and resolve to whatever DocumentRoot was set to in httpd.conf. This could also cause this error. Check your error logs. Usually they are /apachedirectory/logs/error_log to see if this is the case.&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: &lt;em&gt;Originally posted by nike_guy_man &lt;/em&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
How do I restart httpd?&lt;br /&gt;
I usuall do [b]killall httpd&lt;br /&gt;
httpd start &lt;/strong&gt;&lt;br /&gt;
[/B]&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;You can do it that way. Or just kill the root process and all the others will die. I usually start apache via &lt;strong&gt;httpd -d /usr/local/apache&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: &lt;em&gt;Originally posted by nike_guy_man &lt;/em&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
I&#039;ve tried [b]apachectl&lt;/strong&gt; but it says command not found... is that a Mandrake command?&lt;br /&gt;
I&#039;m using RedHat 7.1.&lt;br /&gt;
[/B]&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;a href=&quot;http://httpd.apache.org/docs/programs/apachectl.html&quot; class=&quot;bb-url&quot;&gt;&lt;strong&gt;Here&lt;/strong&gt;&lt;/a&gt; is the man page telling all about apachect1.&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Oct 2001 01:29:00 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1090871 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/403-error#comment-1090858</link>
    <description> &lt;p&gt;Already checked all that:&lt;br /&gt;
Yes to virtualhosts.&lt;br /&gt;
From the command line, i type &lt;strong&gt;lynx localhost&lt;/strong&gt; or from the windows, I go to the IP of my linux box, i&#039;ve tried the domain I have my IP to forward to, everything. What is WebRoot? Thats not in httpd.conf&lt;br /&gt;
User and group are &lt;strong&gt;apache&lt;/strong&gt;&lt;br /&gt;
Yes I stopped/restarted apache&lt;br /&gt;
User and group of directory and files are &lt;strong&gt;apache&lt;/strong&gt;&lt;br /&gt;
Knew that about 403 error.&lt;br /&gt;
I had this problem on the old linux box, and all I had to do was do &lt;strong&gt;chown apache:apache * &lt;/strong&gt;for all my webserver files and &lt;strong&gt;chmod 644 *&lt;/strong&gt; to all the same.&lt;br /&gt;
I&#039;ll keep trying whatever I can...&lt;br /&gt;
How do I restart httpd?&lt;br /&gt;
I usuall do &lt;strong&gt;killall httpd&lt;br /&gt;
httpd start &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;What else?&lt;br /&gt;
I&#039;ve tried &lt;strong&gt;apachectl&lt;/strong&gt; but it says command not found... is that a Mandrake command?&lt;br /&gt;
I&#039;m using RedHat 7.1.&lt;br /&gt;
Thanks for your help so far.&lt;/p&gt;
 </description>
     <pubDate>Tue, 02 Oct 2001 19:51:53 +0000</pubDate>
 <dc:creator>nike_guy_man</dc:creator>
 <guid isPermaLink="false">comment 1090858 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/403-error#comment-1090815</link>
    <description> &lt;p&gt;Okay, let&#039;s start at the beginning.&lt;/p&gt;
&lt;p&gt;Are you using VirtualHosts settings in Apache?&lt;/p&gt;
&lt;p&gt;What are your browser settings? I.e. what are you typing in your browser address bar? Does this match either your virtualhosts or WebRoot?&lt;/p&gt;
&lt;p&gt;What is your user and group in httpd.conf?&lt;/p&gt;
&lt;p&gt;If you changed anything in httpd.conf, like user and group, did you stop and restart apache?&lt;/p&gt;
&lt;p&gt;What is the user and group for the directory that you are trying to access?&lt;/p&gt;
&lt;p&gt;As an FYI, a 403 error means that your server is running and understood your request but refuses to honor it, usually a permission thing.&lt;/p&gt;
 </description>
     <pubDate>Tue, 02 Oct 2001 02:31:44 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1090815 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/403-error#comment-1090793</link>
    <description> &lt;p&gt;Yep... documentroot correct, everywhere it should be.&lt;/p&gt;
 </description>
     <pubDate>Mon, 01 Oct 2001 20:47:09 +0000</pubDate>
 <dc:creator>nike_guy_man</dc:creator>
 <guid isPermaLink="false">comment 1090793 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
