Jump to content

Recommended Posts

Posted

I have links on the bottom of other websites that link back to mine.

I just found that they are only producing a 404 page.

 

Is there something I need to do to .htaccess in order for these links to work?

 

thanks in advance.

Posted

Bruce, this is the link

 

 

<center>

<a href="http://www.michaelstreeter.com/webprice.html"><img alt="mikelogo"

title="The Best prices at Mike's Web Design & Hosting" src="images/mikelogo.jpg"

height="149" width="200" /></a></center>

Posted

Mike, I just tried your Kearney Vac site, and tried out the link and got an error. However, the error seems to be a 403 Forbidden error (that's what shows in the tab on Firefox). The 404 is from trying to access an error document.

 

Do you maybe have your htaccess on your michaelstreeter.com site set up to only allow (or deny) access from certain IP addresses? I found this link that talks about how to allow/deny requests.

Posted

Well, I THOUGHT my htaccess was ok but I'm thinking I am doing something wrong.

 

this is my file

 

 

RewriteEngine on

# -FrontPage-

 

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

 

<Limit GET POST>

#The next line modified by DenyIP

order allow,deny

#The next line modified by DenyIP

#deny from all

allow from all

</Limit>

<Limit PUT DELETE>

order deny,allow

deny from all

</Limit>

AuthName www.michaelstreeter.com

AuthUserFile /home/******/public_html/_vti_pvt/service.pwd

AuthGroupFile /home/******/public_html/_vti_pvt/service.grp

Options All -Indexes

 

# the following was added by Mike

 

#End of Mike's add-on

 

<Files 403.shtml>

order allow,deny

allow from all

</Files>

 

deny from 202.28.46.4

deny from 82.204.219.251

deny from 122.224.146.23

deny from 82.98.86.162

RewriteCond %{HTTP_REFERER} !^$

RewriteCond %{HTTP_REFERER} !^http://awesomeimages.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://awesomeimages.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://birdfeeders.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://birdfeeders.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://donswelding.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://donswelding.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://grandkids.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://grandkids.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://incense.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://incense.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://millsitelake.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://millsitelake.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://nascar.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://nascar.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://skeezik.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://skeezik.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.awesomeimages.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.awesomeimages.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.birdfeeders.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.birdfeeders.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.donswelding.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.donswelding.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.grandkids.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.grandkids.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.hazzystavern.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.hazzystavern.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.incense.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.incense.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.millsitelake.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.millsitelake.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.nascar.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.nascar.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.skeezik.michaelstreeter.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.skeezik.michaelstreeter.com$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.codydouglas.com/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.codydouglas.com$ [NC]

RewriteRule .*\.(jpg|jpeg|gif|png|bmp|html|htm|css)$ - [F,NC]

Posted

Ok. I edited the .htaccess file and deleted everything in it.

( saved to notepad of course )

 

saved the htaccess file

 

now I get access I was after for all browsers.

 

However, is that good...... to have an EMPTY htaccess file?

Posted

If you are using FrontPage I think these lines need (or should) be in the .htaccess file.

 

>RewriteEngine on
# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
#The next line modified by DenyIP
order allow,deny
#The next line modified by DenyIP
#deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.michaelstreeter.com
AuthUserFile /home/******/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/******/public_html/_vti_pvt/service.grp
Options All -Indexes

 

Make sure to replace the ****** with the actual path on the server.

Posted

I don't use frontpage. I use html kit and css then upload everything

Posted

Thanks Carl.

What are your thoughts on the empty htaccess?

Posted

That's kind of what I thought.

I think I will leave it as is for now and see how it goes.

 

Thanks for everything.

 

:whip: -_-

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...