Ticket #895 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

search doesn't work with subdomains

Reported by: anonymousbugger Assigned to: mdawaffe
Priority: normal Milestone:
Component: General Version: 1.5
Severity: trivial Keywords: has-patch commit
Cc:

Description

when I access my blog via http://blog.mydomain.net (instead of http://mydomain.net/blog), the search doesn't work because it tries to go to http://blog.mydomain.net/blog/index.php . I think it can be solved by replacing: action="<?php echo $_SERVERPHP_SELF?; ?> (in the searchform.php) by: action="<?php echo get_settings(’siteurl’); ?>

Attachments

895.diff (0.6 kB) - added by mdawaffe on 08/31/06 20:54:43.
classic

Change History

02/16/05 12:12:48 changed by anonymousbugger

  • Patch set to No.

02/16/05 20:35:05 changed by ryan

  • Patch changed from No to Yes.

02/17/05 10:05:19 changed by anonymousbugger

<?php echo $PHP_SELF; ?>

02/17/05 10:05:53 changed by Zeo

<?php echo $PHP_SELF; ?>

08/31/06 20:54:43 changed by mdawaffe

  • attachment 895.diff added.

classic

08/31/06 20:55:45 changed by mdawaffe

  • keywords set to has-patch commit.
  • owner changed from anonymous to mdawaffe.
  • status changed from new to assigned.
  • milestone set to 2.1.

895.diff

  1. Get classic in line.

See [2884]

08/31/06 21:38:43 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [4152]) Use home instead of PHP_SELF. Props mdawaffe. fixes #895

09/25/06 02:27:53 changed by ryan

(In [4238]) Use home instead of PHP_SELF. Props mdawaffe. fixes #895

09/25/06 04:20:21 changed by foolswisdom

  • milestone changed from 2.1 to 2.0.5.

11/30/06 19:41:51 changed by

  • milestone deleted.

Milestone 2.0.5 deleted