#895 closed defect (bug) (fixed)
search doesn't work with subdomains
| Reported by: | anonymousbugger | Owned by: | mdawaffe |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 1.5 |
| Severity: | trivial | Keywords: | has-patch commit |
| Cc: | Focuses: |
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 (1)
Change History (10)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
<?php echo $PHP_SELF; ?>