Your comment to JapanPro's answer suggests to me that your site is indeed in a subdirectory on your local server, in which case the likely reason that it doesn't work correctly (based on this and your other question ) is because URL structure is different than your live server (it lives at the root there, but not in your local environment) To fix this, you need to configure Apache to use a name-based virtual host then add an entry in your hosts file that corresponds to the name you chose. Then you will use that domain name to access your site, and because the URL structure will be consistent with your live site, it should work correctly Example: C:\Windows\System32\drivers\etc\hosts 127.0.0.1 domain. Local httpd.
Conf VirtualHost *:80> ServerName domain. Local DocumentRoot "C:\wampdir\htdocs\mydomain" Options Indexes FollowSymLinks Includes AllowOverride All Order allow,deny Allow from all.
Your comment to JapanPro's answer suggests to me that your site is indeed in a subdirectory on your local server, in which case the likely reason that it doesn't work correctly (based on this and your other question) is because URL structure is different than your live server (it lives at the root there, but not in your local environment). To fix this, you need to configure Apache to use a name-based virtual host, then add an entry in your hosts file that corresponds to the name you chose. Then you will use that domain name to access your site, and because the URL structure will be consistent with your live site, it should work correctly.
Example: C:\Windows\System32\drivers\etc\hosts 127.0.0.1 domain. Local httpd. Conf ServerName domain.
Local DocumentRoot "C:\wampdir\htdocs\mydomain" Options Indexes FollowSymLinks Includes AllowOverride All Order allow,deny Allow from all Edit: Here's a more in-depth description of setting up virtual hosts and editing in a new host entry that should hopefully explain this process better than I have.
Thanks @Tim but can you explain your second paragraph in more simpler way and similar folder structure as wamp and live server use to have...? – OM The Eternity Sep 1 '10 at 12:03 @OM The Eternity - I will try to explain in more detail, but right now I have some work to take care of, so it'll have to wait until I get back. – Tim Stone Sep 1 '10 at 12:10.
What you are using in local xampp, wamp or any other , you may need to enable htaccess I m considering you are using xampp or recommend to use it. How to enable or use . Htaccess on Apache Web Servers in Windows: Using a text editor, open the httpd.
Conf file. In XAMPP, this file is found in the \apache\conf directory Locate the following line of code: #LoadModule rewrite_module modules/mod_rewrite. So Remove the # from the line as seen below to enable the module: LoadModule rewrite_module modules/mod_rewrite.
So Save the httpd. Conf file and Restart your server Restart your Apache Server.
Thanks for reply @japanPro but I have htaccess enables in my WAMP, what I miss in my pages is main folder name in url, like wise I must get url as myip/mydomain/index. Html, but I get it as myip/index. Html – OM The Eternity Sep 1 '10 at 9:51.
Depending on the AccessFileName setting, your local Apache installation might use another name, for example _htaccess. Furthermore, make sure that the AllowOverride directive is not set to None. Further documentation can be found in the .
Htaccess tutorial.
RewriteCond %{HTTP_HOST} ^mydomain. Com NC If the host is starts with (^) mydomain. Com, RewriteRule ^(.*)$ mydomain.com/$1" rel="nofollow">mydomain.com/$1 L,R=301 rewrite it to http ://mydomain.com/$1 RewriteCond %{HTTP_HOST}!
Mydomain.Com NC If the host is not(!) mydomain.com.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.