| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-13-2012, 05:14 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2012
Posts: 7
Rep: 
|
Apache login problem
Fixed 
Last edited by SamirAmeti; 11-19-2012 at 05:11 PM.
|
|
|
|
11-14-2012, 02:37 AM
|
#2
|
|
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,276
Rep:
|
Welcome to LQ!
I don't know what's your problem because I don't understand your post yet.
1. you run apache
2. you run an application on it
3. you want to access it with a different URL than localhost
Do you have created any virtual hosts? How does the address in the browser look like?
|
|
|
|
11-14-2012, 06:42 AM
|
#3
|
|
LQ Newbie
Registered: Nov 2012
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by j-ray
Welcome to LQ!
I don't know what's your problem because I don't understand your post yet.
1. you run apache
2. you run an application on it
3. you want to access it with a different URL than localhost
Do you have created any virtual hosts? How does the address in the browser look like?
|
1. Apache , I have script installed php script , and everything works fine , and when i open the website via ip address or domain and i try to login it redirects me to localhost
2. I have pictures uploaded and those pictures doesn't show www.domain.com/1.jpg but they only show via localhost/1.jpg
|
|
|
|
11-15-2012, 01:01 AM
|
#4
|
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,780
|
Mind posting the (login) script? Please use code tags.
Please check the apache error logs in /var/log for pointers; exact subdirectory in /var/log depends on distro.
|
|
|
|
11-15-2012, 04:29 AM
|
#5
|
|
LQ Newbie
Registered: Oct 2010
Posts: 4
Rep:
|
Quote:
Originally Posted by SamirAmeti
I have an apache installed everything works great but when i login on admin or user page it redirects me to localhost , and pictures are showing only on localhost not working for others, anyidea whats the problem !
|
Hi
Please can you say which kind of code user using ?? .Example Joomla,drupal, or php ???
Check you .htaccess file if you have in ur website root folder.
And also please post your virtual host entry.
|
|
|
|
11-15-2012, 05:05 AM
|
#6
|
|
LQ Newbie
Registered: Nov 2012
Posts: 7
Original Poster
Rep: 
|
Guys  i fixed this , it was mistake that i did when i installed the script  now everything is fine  thank you 
|
|
|
|
11-16-2012, 02:19 AM
|
#7
|
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,780
|
Great. Please mark the thread as solved using the thread tools just above the first post on the page.
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:22 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|