I have lan computer running apache2. It doesn't have access to the internet. Is there a way to redirect all website requests to the website located /var/www/ ? So if a user is on the network and trys to goto www.google.com it will redirect them to /var/www/index.html.
I have five domains redirecting to my main site. I originally setup these redirect domains because many people in my target demographic are not very computer literate, and I worried they would mis-spell or mis-type the site name. I want to do what Google does with gogle.com and their other domains.
exampledomains.com <-- Main Site exampledomains.net exampledomains.org exampledomain.com exampledomain.net exampledomain.org
Now I'm seeing that Google is indexing about 3000 results for each redirect domain, and I'm worried it's going to hurt my SEO.
My host setup the domains with the same IP as my main site, then put non-masking redirects in the .htaccess. The sites do not have their own accounts on the server, so I can't setup a separate htaccess or robots.txt as their presently configured. How should I set this up?
I want to redirect 4-5 domains to another domain. That is, when a user goes to mydomain1.com, mydomain2.com, mydomain3.com etc. , he is redirected to the mydomain.com
What are my options here? The main site is hosted on a Linux platform and uses cPanel.
What are the different ways which in which I can redirect to my mainsite?
Every domain that I have added just goes to the default Plesk landing page. I have:
* Added them as new subscriptions * Added domains to a current subscription * Verified that the index.html file is deleted * Verified that vhosts is pointing to proper directory * Confirmed that sites work when clicking 'preview'
<Directory "c:/wamp/apps/phpmyadmin2.11.6/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Allow,Deny Allow from all Allow from 127.0.0.1 Allow from 192.168.2.102 </Directory>
<Directory "C:/wamp/www"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Allow,Deny Allow from all Allow from 127.0.0.1 Allow from 192.168.2.102 </Directory>
<Directory "C:/wamp/www/MathewBrown/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Allow,Deny Allow from all Allow from 127.0.0.1 Allow from 192.168.2.102 </Directory>
Computers which will be accessing the server, their hosts file have been changed to this.
how to make an intranet, but I am thinking of having a go at it on a network I have access to.
Currently there is one computer that everybody here calls the fileserver. Its My Documents folder is everybody else's Z: drive. (This is an XP machine).
What steps are involved in hosting web pages on it that all the other computers can access with a browser?
to be accessing the server like localhost on a standalone machine, rather than just Z:/file.htm because I intend to install PHP.
I've built an intranet in PHP and configured IIS so it will run as the user that visits the site.
The company then has a fileserver that they wan't to list the files from depending on what rights you have on your user.
I've done the: "Integrated Windows Authenitcation", and removed "Anonymous access" -step.
When I debuged the fileservers logs it says that when I'm logged on from the intranet-webserver it tries to access the fileserver as my user, when I change to another machine it goes for a anonymous-account.
I thought the "Anonymous-access"-checkbox I removed removed that?
I have just upgraded my website, and set 301 redirects for all old pages.
But on the old website I used a search engine, and in Google Webmaster there are loads of 404 pages with search queries. They look like this: [URL] ....
Simply redirecting search.php doesn't work, so I guess I need to use a wildcard?
I'm using a .htaccess file to redirect only example.com/script-dir/index.php (with www and without) to example.com/index.php, but it also redirects example.com/script-dir/index.php?page=faq and other pages.
What should I do to redirect only that single page?
I'm having trouble getting a Redirect to work. I'm doing a remake of an old site that I did over 10 years ago and I'm going to need to do a lot of redirects once I change over, but I wanted to test it out to make sure I know what I'm doing before I get rid of the old site. My current old site is www.antstuff.net. I will be keeping the same domain when I change, but it's current url naming system is different from the program I use now (Joomla). It's current url syntax goes like: www.antstuff.net/html/ant_farm.html Whereas the remade Joomla site will simply be www.antstuff.net/ant-farms . I don't want to lose all of my inbound links so I'll need to redirect every old page to the new pages right?I wanted to test it first to see if I could get a redirect to work so I added a line to my .htaccess just to try and redirect from one page to another.
Nothing happens. It does not redirect to a different page at all.Also, there is a bunch of other crap in my .htaccess file that has built up over the years. Could that mess anything up?
Update: Interesting thing happened. When I went to submit this post, I got an error that said that there is a redirect in the url that I entered, please use the destination url instead. So I removed the line of code from my .htaccess before submitting. Nevertheless, nothing happens when visit that particular page. It's supposed to transfer me to the other page right?
I have joomla installed on root folder and another joomla installed on subfolder. I want to redirect www to non in subfolder by this code in blog htaccess:
Issue: Upgraded to Apache 2.4.4 and Tomcat 7.0.33. Accessing the website via HTTPS produces "Object not found" error. The error logs (server,tomcat,apache) show no errors. It was working with Apache 2.2
Server OS: Windows 2008 Apache: version 2.4.4 Tomcat: version 7.033 JRE: version 1.6.0_43 Httpd.conf
... and nothing works. My webserver gets hosed, and my otherwise working system gives me an error when I try to get a page from it. I am, by the way, using Mac 10.6.8, with Apache 2.2 on both server and client.
I have a simple app where i am currently downloading some images from the internet. I want to use a local web server to host some of these images when i am not connected to the internet. I installed the apache web server and added the images folder under htdocs - my document root.
Now, i want something like when i continue to query images from www.examplesite.com/xyzimage.png within my app, it should be redirected to localhost/images. Is this possible? I tried doing this
In C:WINDOWSsystem32driversetchosts i added this line URL:...
to: /some-product-name (e.g. /ichiban-fairly-offensive-sweat-in-grey)
We have 1,090 products and 60+ categories so some form of .htaccess trick would be amazing to know. What I could put in the .htaccess to accomplish this.
What I want to do is this: The URL is like somedomain.sub.com/somepage/s1/s2The index.php is accessible from somedomain.sub.com/somepage/I want to send s1/s2 as $_GET['page']
Also, I don't want the URL in the address bar to change, only the url sent to the server should change. This worked well in my localhost, but on webserver (0fees.net), it doesn't work ...
We are redoing our website and we have removed / renamed a few old pages. I was wondering if I can do 301 redirect for removed / renamed pages without having to actually create them? To explain with an example:
On old website : www.domain.com/mypage.php On new website: www.domain.com/mynewpage.php
I created a 301 redirect in .htaccess redirecting mypage.php to www.domain.com/mynewpage.php without physically creating "mypage.php" file. When I access "www.domain.com/mypage.php", I get a 404 page not found error. When I create a blank "mypage.php", the redirection works fine.
Is it possible to do a 301-redirect without having to create old files ?
I've just joined the group and new to Apache/php. I have just assembled a website in Joomla/vertumart and called petslovezone.com.au. I want to redirect all the request such as
1. http://xyz.com to https://xyz.com 2. http://www.xyz.com to https://xyz.com 3. xyz.com. to https://xyz.com 4. www.xyz.com to https://xyz.com
now know I have to change .htaccess "RewriteEngine On" section. What would be the best code to do all the above.
One site just linked to my website with incorrect URL as URL.. want to correct this by redirecting the URL to URL.... Therefore, I add the following line in my .htaccess, as follows: Redirect 301 /aor/%e2%80%9d URL...
However, this does not work. When I input URL... in Firefox or IE, the browser still said the page not found(404) error.