Showing posts with label WebServer. Show all posts
Showing posts with label WebServer. Show all posts

Friday, February 17, 2012

bench3

Installing and Configuring FTP 7 On IIS 7 | Security and Deployment options Available On FTP 7.5

Microsoft rewrote the FTP service for Windows Server 2008 and above. This updated FTP service incorporates many new features that enable web authors to publish content better than before, and offers web administrators more security and deployment options.

The FTP 7.5 service ships as a feature for IIS 7.5 in Windows 7 and Windows Server 2008 R2.

The FTP 7.0 and FTP 7.5 services were shipped out-of-band for IIS 7.0, which required downloading and installing the service from the following URL: http://www.iis.net/download/FTP.

Some Of The Security and Deployment options Available On FTP 7.5

  • Integration with IIS: IIS has a new administration interface and configuration store, and the new FTP service is tightly integrated with this design. The old IIS 6.0 metabase is gone, and the updated configuration store based on the .NET XML-based *.config format took its place. In addition, IIS has an updated administration tool, and the new FTP server plugs seamlessly into that paradigm.
  • Support for new Internet standards: One of the most significant features in the updated FTP server is support for FTP over SSL. The FTP server also supports other Internet improvements such as UTF8 and IPv6.
  • Shared hosting improvements: By fully integrating into IIS, the updated FTP server makes it possible to host FTP and Web content from the same site by simply adding an FTP binding to an existing Web site. In addition, the FTP server has virtual host name support, making it possible to host multiple FTP sites on the same IP address. The FTP server also has improved user isolation, making it possible to isolate users through per-user virtual directories.
  • Custom authentication providers: The updated FTP server supports authentication using non-Windows accounts for IIS Managers and .NET Membership.
  • Improved logging support: FTP logging was enhanced to include all FTP-related traffic, unique tracking for FTP sessions, FTP sub-statuses, additional detail fields in FTP logs, and much more.
  • New supportability features: IIS has the option to display detailed error messages for local users, and the FTP server supports this by providing detailed error responses when logging on locally to an FTP server. The FTP server also logs detailed information using Event Tracing for Windows (ETW), which provides additional detailed information for troubleshooting.
  • Extensible feature set: FTP supports extensibility that allows you to extend the built-in functionality that ships with the FTP service. More specifically, there is support for creating your own authentication and authorization providers. You can also create providers for custom FTP logging and for determining the home directory information for your FTP users.
Read More

Wednesday, February 15, 2012

bench3

Changing Permalink On IIS Resulted In 404 Error | How To Fix

This question will arise to everyone who is trying out Wordpress on IIS 7. I am sure this has been asked many times before. If you have not get a solution till now, here is something you can try to succeed.

Ok, what exactly might have happened is, you went to the settings and changed the Permalink structure from the default to one of the other presets.

And now, none of them work. When you click the post title from my blog homepage, you will land in a 404 Error.

Error 404
The post or page you requested can not be found on this site.

Visit the Home Page or browse through the Archives.

How can one fix this issue with permalinks?

Ok, the problem is, WordPress isn't updating your web server root. Try temporarily renaming .htaccess (perhaps to old.htaccess) and then visit Settings -> Permalinks again. Change to anything besides "Default" and see if an .htaccess is then created. If it is, just add the contents from old.htaccess to the top of the new .htaccess.

Ok, lets make it simple,

Changing Permalink On IIS Resulted In 404 Error  How To Fix

If your web.config file were writable, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your web.config file. Click in the field and press CTRL + a to select all. Then insert this rule inside of the /<configuration>/<system.webServer>/<rewrite>/<rules> element in web.config file.

Just as you see in the above screen shot, WordPress should tell you what to manually add at the bottom of the Permalinks page.

Read More

Wednesday, December 28, 2011

bench3

How To Choose The Best Web Hosting

With millions of Web sites competing for viewers, how do you get the results you’re looking for? When asked if they are marketing on the Internet, many people say, “Yes, we have a Web site.”

However, choosing a web hosting provider can be as tricky as Search Engine Optimization since there are so many options to choose from. Often this flexibility in choice can lead people to make some poor decisions in terms of who they decide to sign up with.

There are so many free web hosting services on the internet.  Google does not value sites that are hosted with free web hosting plans. It looks cheap  to begin with. If you are hosting your site for business purposes then it’s highly recommended that you use a paid web hosting service.

In this article we will discuss the key points you need to know before you sign up for a web hosting service.

Do your Home Work Steady And Slow:

Don't hurry, be slow. Read reviews about different hosting company. If you are going to buy a new television, you would probably read a few reviews to see whether it is a quality set. The same goes with a web hosting provider – read some reviews or you might find yourself disappointed with the service you end up with. Make use of Google to make a full search of reviews. Read our review on Host Monster.

Your homework does not just stop once you read different reviews, Once you have read what people have said, then do your own research on different web hosting.

How To Choose The Best Web Hosting

Understanding what web hosting provider do can go a long way towards helping you pick the right one. So make sure you read a few articles on the subject and even watch a few videos on YouTube.

Also, Follow Forum Discussions: An active forum indicates a healthy web host service. Follow the forum to be up to date with current issues.

Understand Refund Policies

Sometimes things just don’t work out between you and your web host. However, don’t wait until this point to start asking about refund policies. Always be prepared with this information beforehand.

Talk with Customer Support

Problems can crop up from time to time with a web hosting provider, and this is when good customer service staff comes in handy. Make sure you chat with the web host’s customer support team before making any decisions. This way you’ll know beforehand that you are in safe hands if a problem should arise.

Use Recognised Payment Providers

When registering a domain name with a web hosting provider, make sure you use a recognised payment provider. PayPal is the ideal provider as it prevents the web host from automatically charging your account without your authorization.

Find out About Spam Policies

Some web hosts have a bad reputation. They allow anyone register a domain name as long as they pay. This carelessness has given rise to thousands of malicious websites that spread spam all over the internet. A service with poor anti-spam policies can reflect badly on your site.

Register Your Domain Name Separately

Always register your domain name on a separate service rather than relying on your web host. If relations sour or you decide to switch hosts, you could very well lose your domain name in the process.

Beware of Overselling

Overselling occurs when a web host sells more space than they can adequately host. It’s like when airlines overbook an airplane; some people are going to get squeezed out. With web hosting, your site’s functionality can be compromised if too many people are drawing from the same collective pool of bandwidth.

There is No Such Thing as Unlimited

Many hosts boast about their ability to offer unlimited hosting resources. There is simply no such thing. All hosts utilize a set of limited resources. They only claim it’s unlimited because chances are that the average customer will not fully utilize their allocated bandwidth.

Backup Regularly:

First make sure that the hosting provider you are looking for offer regular backup. Even if they do, don’t rely on your web host to backup your information for you. Take the precautionary step of doing it yourself. If you do a lot of SEO you don’t want to waste your work if you lose your sites!

Never settle for one Web hosting provider. Keep Your Options Open

Always have a backup plan for web hosting. Keep your options open to switch to another provider if you are unsatisfied or if can get a better deal.

Note that, Price is not the determinant factor here. A lot of web hosts cost from 2.95usd/month to 12.95usd/month. Even if its not for business purposes, 10 USD per month by any standard is not much. So lets forget about the pricing and lets focus on the quality of services and others factors that we have discussed here. Good Luck! and don't forget to leave your ideas here as comments.

Read More

Wednesday, March 10, 2010

bench3

Understanding The Windows Media Services In Windows Server 2008 | Streaming Media Services In Windows Server 2008

Windows Media Services enables streaming of multimedia content over all types of networks. These networks can range from low-bandwidth, dial-up Internet connections to high-bandwidth local area networks. Windows Media Services (called “Streaming Media Services”) is a server role installed from the Server Manager:
  1. Click Start | Server Manager. In the server tree on the left, click Roles.
  2. Under Roles Summary in the right pane, click Add Roles and click Next. 
  3. In the list of roles, click Streaming Media Services and click Next. Read the Introduction To Streaming Media Services and click Next.
  4. If you think you will want them, click Web-Based Administration and Logging Agent. If you are asked if you want to add the features required for Web-Based Administration or Logging Agent, click Add Required Role Services and click Next.
  5. You are asked if you want to use Real Time Streaming Protocol (RTSP) or Hypertext Transfer Protocol (HTTP), but HTTP is grayed out since port 80 is being used for normal (nonstreaming) HTTP connections. Click Next three times (because you are also installing some additional features of IIS) and click Install.
  6. When you are told that the installation is successful, click Close.

NOTE: Streaming audio and video allows the media to be played on the receiving computer as it is being downloaded, instead of waiting for it to completely download before playing it. The Microsoft Windows Media Player, included in Windows XP and Vista, can be used to play streaming audio and video.
Utilizing Windows Media Services, a media server can stream audio and video content over the Web. To understand why this is significant, it helps to understand the way a typical HTTP session works. First, a web browser sends out a request for a URL over the network. The web server hosting the URL responds to the request and downloads the appropriate information to the browser. Once the web pages are downloaded from the site, the browser displays them. 

When the user clicks another link, the browser requests another URL and the server responds. This works great for small file sizes, such as a web page, but video and audio files are so large that waiting for files to download in this way is like waiting for paint to dry. Windows Media Services uses streaming technology to enable you to load and play the audio or video while it is still downloading. This greatly increases the satisfaction of the user who is downloading the file.

Stream Methods
There are two ways to stream audio and video. One uses a web server alone; the other separates the web tasks from the streaming media tasks. The second method utilizes a streaming media server to stream audio or video, in conjunction with a web server used to download the rest of the web information.

Stream with a Web Server The server sends the audio and video files in the same fashion as it would send any type of file. The streaming client stores, or buffers, a small amount of the audio or video stream and then starts playing it while continuing the download.

Buffering theoretically allows the media to continue playing uninterruptedly during periods of network congestion. In fact, it is normal for it to get interrupted on a dialup or other lower-speed connection. The client retrieves data as fast as the web server, network, and client connection allow.

Stream with a Media Server With a media server, the first step is to compress the media file and copy it to a specialized streaming media server (such as Microsoft’s Windows Media Services). Next, a reference is made on the web page so that IIS knows when and where to retrieve the streaming data for the page. Then data is sent to the client such that
the content is delivered at the same rate as the compressed audio and video streams. The
server and the client stay in close touch during the delivery process, and the streaming media server can respond to any feedback from the client.

Stream with Windows Media Services Designed specifically for the task of delivering live or on-demand streaming media rather than many small HTML and image files, a Windows Media Services server offers many advantages over standard web servers:
  • More efficient network throughput
  • Better audio and video quality to the user
  • Support for advanced features
  • Cost-effective scalability to a large number of users
  • Protection of content copyright
  • Multiple delivery options

Windows Media Services, diagrammatically shown in Figure above, automatically switches to the appropriate protocol, so no client-side configuration is necessary.
Read More

Thursday, January 28, 2010

bench3

Web Server Traffic Reporting With Webalizer In Linux | Running A WebServer In Linux Machine

If you're running a Website, you're likely to be interested in the amount of traffic it receives, where it's coming from, and where it's going. The analysis of Web traffic enables developers to assess whether or not the Websites hosted on your server are being used as expected. It allows those developers to make the changes required to deal with unexpected loads, or to direct visitors towards particular Web pages of which they may not be aware.

Traffic reporting for Web pages is a two-stage process. First, there needs to be a log of each request made for each Web page; fortunately, that's exactly what Apache's /var/log/httpd/access_log log file contains. Second, the raw data in that log file needs to be turned into a useful report. This is where Webalizer, an open source Web server log analysis program, comes in handy. Webalizer periodically goes through Apache's access logs and produces an HTML report, complete with charts, so that we can quickly and easily identify any trends in site traffic.

If Webalizer is not installed, install it from the Package Management tool by selecting the Webalizer package from the Web Server package group, or by entering yum install webalizer at the command prompt.

Fedora's Webalizer package is already configured to read /var/log/httpd/access_log once daily to regenerate its reports, so there's no need to configure Webalizer. The default configuration writes its reports to the directory /var/www/usage, which can be accessed via the browser at http://localhost/usage/, as shown in Figure below.
Note that if Webalizer's cron job has not been run, nothing will be available at this address: you'll see an error message. To force Webalizer to generate reports, run webalizer from the command line as root.
The reports are very detailed, showing not only tables that indicate the "number of hits" the site has received, but graphs of changing hit counts over time, traffic statistics broken up by month, week, day, and hour, and details of which "user agents" (Web browsers) were used to access the sites.

There are many, many Web traffic analysis tools like Webalizer. You may already have experience with another and, if so, you may prefer to use that. I'd recommend Webalizer because it provides comprehensive statistics in a clearly understandable format, and requires no configuration to set up and get working.

Figure: A Webalizer report.

While Web traffic analysis reports are useful to Web application developers, they can also be useful to you, the system administrator. A traffic report can give you an idea of when site traffic typically spikes to higher levels, and which parts of your Website attract the greatest numbers of users, which will help you make decisions about network bandwidth .

For example, if you find that your server is serving a lot of images, and that, consequently, those requests are slowing down the other processes on the machine, you might think about setting up a second LAMP server purely to serve the images, thereby reducing the load on your first server. You might also decide to use traffic shaping tools to alter your network bandwidth to route more (or less) traffic to particular servers or services. This can be particularly handy if you're seeing bandwidth spikes to particular services, or at particular times.
Read More

Thursday, January 21, 2010

bench3

Configuring Linux Web Server With MySQL And PHP

Today , dynamic Websites are more the rule than the exception. Most sites require some type of database back-end and use one scripting language or another. A bare-bones Apache configuration is perfectly suited to serving up static Web pages without any further configuration, but if you're looking to build a more dynamic site, a little more work is in order.


Installing MySQL and PHP
First , you'll need to make sure all of the appropriate packages for MySQL and PHP are installed. Here we're going for a pretty basic installation of MySQL and PHP.
Figure: Displaying the packages in the Web Server group.

You can install the necessary PHP and MySQL packages using the Package Management tool  In Linux Server. Launch the tool, scroll down to Web Server, and click the Details button to display the packages in the Web Server group, as shown in Figure above; most of these will probably already be installed.


Ensure that the php and php-mysql packages are ticked (tick them if they're not) and click the Close button.


Next, ensure that the MySQL Database package group is checked. As we're building a server to use MySQL exclusively, we can uncheck the PostgreSQL Database package group, too. Click the Details button for MySQL Database and make sure that php-mysql and mysql-server are checked.


Once you're done, click Update in the main window to install or remove any packages.
Tip: If you'd rather make use of PostgreSQL than MySQL, there's no problem with that. In the Web Server package group, check php-pgsql to give PHP the ability to communicate with PostgreSQL databases. You can uncheck php-mysql to keep your server lean and mean, or leave it in, for added flexibility.
To complete your installation, restart the Apache service using your preferred method.


Testing your Installation of PHP
To test the installation of PHP, let's create a file named phpinfo.php in the /var/www/html directory; you'll need to switch to root to do this. The file should contain only the following three lines of code:

This page will call the built-in PHP function phpinfo() to display all the available information about your PHP installation. Run this page by opening http://localhost/phpinfo.php in your Web browser (Applications > Internet > Firefox Web Browser).

Figure: Displaying phpinfo.php in Firefox.



Firefox should display details about your server, as shown in Figure above. If it does, congratulations: PHP is working! If not, check that the Apache service is up and running, then check Apache's error log (/etc/httpd/logs/error_log). Searching the Web for any error messages displayed in the error log will usually lead to a solution; alternatively, try your luck at some friendly web server forums.
Tip: Once you've checked the installation, it's a good idea to delete phpinfo.php , lest someone should stumble across the critical details of your PHP installation.
Read More