aliyev's notes

  • About

Misc

Use .htaccess to Deny Access Directory Listing

May 14, 2010, by admin No comments yet

Don’t have an index in all your directory’s? Many people create a blank index.html file in every directory to prevent directory listing. It’s ok for a small website, but imagine if you have a website that has hundred or thousand directories. The easiest way is to write a htaccess file, include the following line in your .htaccess file to deny access to all the directory listings, if there is no index file.

Options -Indexes

Changing default gateway on MS Windows using command line

June 28, 2009, by admin No comments yet

Despite the fact this post is quite fat from Ubuntu or Linux I decided to puclish it here as find this usefull and sometimes neccessary.

So here we are on how to update default gateway using command line:

netsh interface ip add address “local area connection” gateway=100.1.1.5
gwmetric=2

Free WordPress themes and Hidden code

September 10, 2008, by admin No comments yet

If you are using a free wordpress theme, make sure that the footer does not contain hidden code. I’ll show you how to find and unhide that hidden code below, something that many people starting out with WordPress miss. Such a mistake can have you linking to bad link partners which can cause your site to never rank well with the search engines.

You are who you hang around with, at least that is the way it is on the internet. If your site is on Green Tea and you keep linking to mountain dew, then your site is considered to be about dew, not tea to most search engines.

If you have a site that links to websites considered bad by search engines, you will be penalized and may not recover for years – at that point, you might as well start another site. Read more →

Limits for Linux filesystems

August 3, 2008, by admin No comments yet
File System File Size (Bytes) File System Size (Bytes)
Ext2 or Ext3 (1 kB block size) 234 (16 GB) 241 (2 TB)
Ext2 or Ext3 (2 kB block size) 238 (256 GB) 243 (8 TB)
Ext2 or Ext3 (4 kB block size) 241 (2 TB) 243-4096 (16 TB-4096 Bytes)
Ext2 or Ext3 (8 kB block size) (systems with 8 kB pages, like Alpha) 246 (64 TB) 245 (32 TB)
ReiserFS v3 246 (64 TB) 245 (32 TB)
XFS 263 (8 EB) 263 (8 EB)
NFSv2 (client side) 231 (2 GB) 263 (8 EB)
NFSv3 (client side) 263 (8 EB) 263 (8 EB)

What is 127.0.0.1?

August 3, 2008, by admin No comments yet

127.0.0.1 is the standard IP address used for a loopback network connection.

This means that if you try to connect to 127.0.0.1, you are immediately looped back to your own machine. If you telnet, ftp, etc… to 127.0.0.1, you are connected to your own machine.

In other words, 127.0.0.1 is you.

For example, if your system was named “hostname”, and you attempted to telnet to 127.0.0.1, you would see:

# telnet 127.0.0.1
Trying 127.0.0.1…
Connected to hostname
Escape character is ‘^]’.

Another name for 127.0.0.1 is localhost.

Although 127.0.0.1 is the most commonly utilized address for localhost, any IP address in the 127.*.*.* range should also function in the same manner.

Categories

  • FreePBX
  • IIS
  • Misc
  • Nokia
  • Photoshop
  • Server 2003
  • Server 2008
  • Ubuntu advices
  • Ubuntu troubles
  • Uncategorized
  • vim
  • Windows 2003
  • Wordpress

Recent blog posts

  • Automatically Log off Disconnected User Sessions on Windows admin, September 15, 2020
  • Event ID 20069 – AT_KEYEXCHANGE admin, September 15, 2020
  • SharePoint Online: Adding Term Store Administrators admin, June 10, 2020
  • Sharepoint Online. Get storage use per site using powershell admin, June 8, 2020
  • Extract IP addresses from PCAP admin, May 19, 2020

This is widgetised area:
Footer › Column 1

This is widgetised area:
Footer › Column 2

This is widgetised area:
Footer › Column 3

Copyright © 2020 aliyev. All Rights Reserved. Cookie policy | Privacy policy