LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-13-2012, 05:14 PM   #1
SamirAmeti
LQ Newbie
 
Registered: Nov 2012
Posts: 7

Rep: Reputation: Disabled
Apache login problem


Fixed

Last edited by SamirAmeti; 11-19-2012 at 05:11 PM.
 
Old 11-14-2012, 02:37 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,432

Rep: Reputation: 100Reputation: 100
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?
 
Old 11-14-2012, 06:42 AM   #3
SamirAmeti
LQ Newbie
 
Registered: Nov 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by j-ray View Post
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
 
Old 11-15-2012, 01:01 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
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.
 
Old 11-15-2012, 04:29 AM   #5
surya7
LQ Newbie
 
Registered: Oct 2010
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by SamirAmeti View Post
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.
 
Old 11-15-2012, 05:05 AM   #6
SamirAmeti
LQ Newbie
 
Registered: Nov 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Guys i fixed this , it was mistake that i did when i installed the script now everything is fine thank you
 
Old 11-16-2012, 02:19 AM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
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.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache: Can I filter the user's login name? coldbeer Linux - Server 1 11-02-2010 10:52 PM
[SOLVED] SSH login problem for additional users after password-less login setup uncle-c Linux - Newbie 3 02-10-2010 12:51 PM
SSH Problem - Can't login using Hostname, can login using ip address jqweezy Linux - Networking 7 01-26-2009 02:21 PM
Apache login problems no.4 Linux - Software 2 03-06-2008 01:33 PM
Apache, to show login user stomach Linux - Software 2 09-09-2005 07:54 PM


All times are GMT -5. The time now is 09:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration